home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / MacTechNotes / MacTN files by date next >
Encoding:
Text File  |  1991-02-11  |  158.3 KB  |  3,185 lines  |  [TEXT/QED1]

  1.  Name  =  TN.311What's New in Phase 2.cpt
  2.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.311What's New in Phase 2.cpt
  3.  Size: 30K         Date: 2/23/92         Version: 
  4.  Description:
  5.  TN 311 - This Technical Note discusses the new features of AppleTalk 
  6. available for System 7.0 and AppleTalk version 57. The new features include
  7. support for the Flagship Naming Service and the AppleTalk Multiple Node 
  8. Architecture. We present the Multiple Node Architecture and discuss the new
  9. calls available to applications. We also discuss the impact of the new 
  10. architecture on AppleTalk Device files (ADEVs), and the changes necessary 
  11. to make them multinode compatible. Finally, we discuss the Flagship Naming 
  12. Service, along with the new AppleTalk Transitions. The new transitions 
  13. notify a process of changes to the Flagship name, network cable range, 
  14. router status, and processor speed.
  15.  
  16.  Name  =  TN.310.ResinCDEV.cpt
  17.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.310.ResinCDEV.cpt
  18.  Size:  5K         Date: 2/23/92         Version: 
  19.  Description:
  20.  TN 310 - This Technical Note discusses the new 'fwst' resource added to 
  21. some Control Panels under System 7.0 and later. By C. K. Haun. System 7 
  22. changes many of the rules for Control Panels (cdevs), and these changes are
  23. very well documented in Chapter 10 of Inside Macintosh Volume VI. However, 
  24. there is one thing not documented in IM VI that you need to be aware of, as
  25. it could cause you confusion and frustration— the 'fwst' resource.
  26.  
  27.  Name  =  TN.309.SourceRoutes
  28.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.309.SourceRoutes
  29.  Size:  8K         Date:12/31/91         Version: 
  30.  Description:
  31.  Technical Not #309 - This Technical Note discusses source routing and its 
  32. possible implementation in token ring link layers.
  33.  
  34.  Name  =  TN.308.pslt resource
  35.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.308.pslt resource
  36.  Size:  7K         Date:12/31/91         Version: 
  37.  Description:
  38.  Technical note #308 - One of the new resources that can be very helpful to 
  39. some NuBus™ developers is the 'pslt' resource. The only problem is that the
  40. resource is not documented. This Technical Note takes care of the 
  41. documentation problem.
  42.  
  43.  Name  =  TN.307.C++ inline
  44.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.307.C++ inline
  45.  Size:  7K         Date:12/31/91         Version: 
  46.  Description:
  47.  Technical note #307 - This Technical Note discusses MPW C++’s use of 
  48. inline, when an inline defined statement is not inlined at all by the 
  49. compiler, and segmentation issues regarding member functions defined as 
  50. inline that are not inlined by the compiler.
  51.  
  52.  Name  =  Tech Note Index.sea
  53.  Path =  AMUG CD:Files:MacTechNotes:Technical Notes Stack:Tech Note Index.sea
  54.  Size:1386K         Date:12/09/91         Version: 
  55.  Description:
  56.  This file contains the Tech note indexes for the HyperCard 4.0.4 version 
  57. Technical Notes Stack.
  58.  
  59.  Name  =  TN.298 Color, Windows and 7.0
  60.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.298 Color, Windows and 7.0
  61.  Size: 18K         Date:12/09/91         Version: 
  62.  Description:
  63.  #298 - Color, Windows and 7. Written by Guillermo A. Ortiz    January 1991
  64. System 7.0 introduces a new look for the Macintosh Desktop. In order to 
  65. implement those changes 'wctb' and 'cctb' resources have changed in both 
  66. form and use; it is now up to developers to take the lead and help the new 
  67. standard work. The task can be divided in two main areas in most cases all 
  68. developers have to do is to stick to the system resources in order to 
  69. provide a homogeneous feel to the user; developers in this group need only 
  70. make sure the old 'wctb's are disposed of and that all dialogs and windows 
  71. are based on CGrafPorts.  
  72.  
  73.  Name  =  TN.296.LoDownOnDownloading
  74.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.296.LoDownOnDownloading
  75.  Size:  6K         Date:12/09/91         Version: 
  76.  Description:
  77.  #296 - The Lo Down on Dictionary Downloading. Written by:    Zz Zimmerman    
  78. April 1991. This technical note discusses a method for downloading 
  79. PostScript dictionaries automatically using the LaserWriter driver. It will
  80. also provide the format and use of the PREC(103) resource. It will also 
  81. describe some problems with the now obsolete PREC(201) resource. If you are
  82. using PostScript dictionaries, or either of these resources, you should 
  83. definitely read this note.
  84.  
  85.  Name  =  TN.295.Feeder Fodder
  86.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.295.Feeder Fodder
  87.  Size:  9K         Date:12/09/91         Version: 
  88.  Description:
  89.  #295 - Feeder Fodder. Written by Zz Zimmerman    April 1991. This Technical 
  90. Note discusses the new Feeder button available in the 6.1, and 7.0 versions
  91. of the LaserWriter driver. This Feeder button mechanism allows developers 
  92. to insert code into the LaserWriter driver to support a sheet feeder 
  93. connected to a LaserWriter. This Note provides a description of the button,
  94. as well as information required to implement one.
  95.  
  96.  Name  =  TN.294.My PIdle Procedure
  97.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.294.My PIdle Procedure
  98.  Size:  5K         Date:12/09/91         Version: 
  99.  Description:
  100.  #294 - Me And My pIdle Proc (or how to let users know what’s going on 
  101. during print time…) Written by Pete “Luke” Alexander    April 1991. This 
  102. Technical Note discusses how to defensively program a pIdle procedure to 
  103. work with the majority of print drivers in existence today, and how to 
  104. install it at print time.
  105.  
  106.  Name  =  TN.306
  107.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.306
  108.  Size:  6K         Date:12/09/91         Version: 
  109.  Description:
  110.  #306Drawing Icons the System 7 Way - This Technical Note describes how to 
  111. use the built-in System 7 icon drawing utility. Use this information in 
  112. order to better conform to the System 7 visual human interface. The Icon 
  113. Utilities comprise many more than the two calls listed below. Due to 
  114. scheduling difficulties and a tight time frame, the entire set of calls 
  115. could not be documented for this release of the Technical Note. This Note 
  116. will be expanded for the next batch.
  117.  
  118.  Name  =  TN.305.PBShare & PBUnshare
  119.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.305.PBShare & PBUnshare
  120.  Size:  9K         Date:12/09/91         Version: 
  121.  Description:
  122.  #305 PBShare, PBUnshare, and PBGetUGEntry - Written by Jim Luther    Jan 
  123. 1992. This Technical Note documents three new File Manager routines 
  124. available on shared local volumes. The Pascal glue code, C glue code, and 
  125. the assembler equates and macros for the calls are included in this note.
  126.  
  127.  Name  =  TN.300.My Life as a ... (MW)
  128.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.300.My Life as a ... (MW)
  129.  Size: 12K         Date: 9/28/91         Version: 
  130.  Description:
  131.  Technical Note #300 - This Technical Note discusses the PascalObject base 
  132. class, used, for instance, with MacApp programming. The Technical Note 
  133. describes how to write PascalObject derived classes that work with both 
  134. Object Pascal and C++ code linking. It also describes the current 
  135. restrictions and bugs with writing C++ code using PascalObject as the base 
  136. class. This Technical Note is based on MacApp 2.0(.1), MPW 3.2 and MPW C++ 
  137. 3.1.
  138.  
  139.  Name  =  TN.304.Update Perils(MW)
  140.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.304.Update Perils(MW)
  141.  Size: 14K         Date: 9/28/91         Version: 
  142.  Description:
  143.  Technical Note #304 - This Technical Note discusses potential problems when
  144. pending update events for windows behind modal dialogs are not serviced.  
  145. This note also documents some new System 7 Dialog Manager calls.
  146.  
  147.  Name  =  TN.303.PurgeProc Note(MW)
  148.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.303.PurgeProc Note(MW)
  149.  Size:  6K         Date: 9/28/91         Version: 
  150.  Description:
  151.  Technical Note #303 - This Technical Note discusses the use of the 
  152. purgeProc field of an application’s heap zone. Most applications will never
  153. need to use a purgeProc. However, if your application requires the ability 
  154. to maintain purgeable handles containing data, or you need to have special 
  155. notification when a certain handle is purged, a purgeProc might help you.
  156.  
  157.  Name  =  TN.302.Help For Movable(MW)
  158.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.302.Help For Movable(MW)
  159.  Size:  6K         Date: 9/28/91         Version: 
  160.  Description:
  161.  Technical Note #302 - This Technical Note describes the process by which an
  162. application can remap the Help Manager 'hmnu' resource while a movable 
  163. modal dialog box is on the screen. The Help Manager handles the case for 
  164. modal dialog boxes but punts in the case of movable modal dialog boxes. The
  165. following information will help you get the correct interface performance.
  166.  
  167.  Name  =  TN.301.File Sharing and Shared
  168.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.301.File Sharing and Shared
  169.  Size:  9K         Date: 9/28/91         Version: 
  170.  Description:
  171.  Technical Note #301 - This Note describes modifications to the existing 
  172. File Manager routines, PBGetCatInfo, PBHGetDirAccess, PBHSetDirAccess, 
  173. PBHSetFLock and PBHRstFLock, when used on volumes prepared by Macintosh 
  174. System 7 File Sharing.
  175.  
  176.  Name  =  TN.285.GetPhysical
  177.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.285.GetPhysical
  178.  Size: 20K         Date: 5/18/91         Version: 
  179.  Description:
  180.  #285 Coping With VM and Memory Mappings. Revised by Craig Prouse April 
  181. 1991 Written by Craig Prouse February 1991. The purpose of this Note is 
  182. twofold.  First, it describes in detail how to use the GetPhysical routine.
  183. This routine is critical to the support of alternate bus masters on certain
  184. machines without Virtual Memory (VM) and all machines with VM. Included is
  185. an ancillary discussion of several closely-related VM routines. Second, it
  186. reiterates a number of issues important to VM compatibility and elucidates 
  187. some of the deeper VM issues of which specialized developers should be 
  188. aware.
  189.  
  190.  Name  =  TN.283.A/UX System Calls
  191.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.283.A/UX System Calls
  192.  Size: 21K         Date: 5/18/91         Version: 
  193.  Description:
  194.  #283 A/UX System Calls From Macintosh Software. Revised by Anathan 
  195. Srinivasan & Kent Sandvik January 1991. Written by Rob M. Smith, B. W. 
  196. Hendrickson & Dave Radcliffe August 1990. This Technical Note discusses how
  197. to make A/UX system calls from applications developed in the Macintosh 
  198. environment.  This is useful to anyone porting an existing Macintosh driver
  199. or application to work on A/UX as well. Changes since August 1990. Added 
  200. information about how to make use of fork() system calls under MultiFinder,
  201. as well as how various A/UX system calls behave under the MultiFinder 
  202. emulation mode. 
  203.  
  204.  Name  =  TN.229.A/UX Compatibility
  205.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.229.A/UX Compatibility
  206.  Size: 12K         Date: 5/18/91         Version: 
  207.  Description:
  208.  #229 A/UX 2.0 Compatibility Guidelines. Revised by Kent Sandvik &  B. 
  209. Winston Hendrickson. February 1991. Revised by B. Winston Hendrickson & 
  210. Dave Radcliffe June 1990. Written by Dave Radcliffe April 1989. This 
  211. Technical Note describes details of the A/UX 2.0 implementation of which 
  212. developers should be aware, so that their Macintosh applications also work 
  213. properly under A/UX. Changes since April 1989. This Note formerly 
  214. described A/UX 1.1 Toolbox Bugs, but has been completely rewritten to cover
  215. A/UX 2.0 compatibility. Changes since June 1990. Changes due to A/UX 
  216. 2.0.1, also added some new important issues.
  217.  
  218.  Name  =  TN.217.Font File Icons
  219.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.217.Font File Icons
  220.  Size:  5K         Date: 5/18/91         Version: 
  221.  Description:
  222.  #217 Where Have My Font Icons Gone? Revised by Pete “Luke” Alexander April 
  223. 1991. Written by Pete “Luke” Alexander December 1988. This Technical
  224. Note discusses why you should not link directly from your font files to the
  225. font icons provided by LaserWriter driver 5.2 and later. Changes since 
  226. December 1988. Added some useful tips and described the method required to
  227. bundle an icon to your font file.
  228.  
  229.  Name  =  TN.186.Lock, Unlock the Range
  230.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.186.Lock, Unlock the Range
  231.  Size:  8K         Date: 5/18/91         Version: 
  232.  Description:
  233.  #186 - Lock, Unlock the Range. This Technical Note discusses the 
  234. _PBLockRange and _PBUnlockRange routines; how they act on local and shared 
  235. volumes and why you should not set the ioPosMode field to fsFromLEOF in the
  236. parameter block for those routines when accessing a file on an AppleShare 
  237. volume. Changes since April 1988:  Added information on how _PBLockRange 
  238. and _PBUnlockRange really work.
  239.  
  240.  Name  =  TN.170.HyperCard Format
  241.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.170.HyperCard Format
  242.  Size:  4K         Date: 5/18/91         Version: 
  243.  Description:
  244.  #170 HyperCard File Format. Revised by jeremy j. bornstein, death dwarf 
  245. of minraud February 1991. Written by Chris Knepper November 1987
  246. This Technical Note formerly discussed the proprietary nature of the 
  247. HyperCard file format and Apple’s policy not to license it. Changes since 
  248. March 1988:  Merged contents into Technical Note #168, HyperCard And You 
  249. Economy Edition. This Note formerly discussed the proprietary nature of the
  250. HyperCard file format and Apple’s policy not to license it.  This 
  251. information has been updated for HyperCard 2.0 under Claris and integrated 
  252. into Technical Note #168, HyperCard And You - Economy Edition.
  253.  
  254.  Name  =  TN.169.HyperCard Anomalies
  255.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.169.HyperCard Anomalies
  256.  Size:  4K         Date: 5/18/91         Version: 
  257.  Description:
  258.  #169 HyperCard 1.0.1 And 1.1 Anomalies. Revised by Jeremy J. Bornstein, 
  259. death dwarf of minraud February 1991. Written by Chris Knepper November 
  260. 1987. This Technical Note formerly described some HyperCard anomalies 
  261. between HyperCard 1.0.1 and 1.1. Changes since March 1988. Merged contents
  262. into Technical Note #168, HyperCard And You: Economy Edition.
  263.  
  264.  Name  =  TN.168.HyperCard and You
  265.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.168.HyperCard and You
  266.  Size: 17K         Date: 5/18/91         Version: 
  267.  Description:
  268.  #168 HyperCard And You - This Technical Note describes some HyperCard 
  269. anomalies with which developers should be familiar when developing 
  270. stackware, and it documents differences between HyperCard versions where 
  271. appropriate. Changes since November 1987 - Consolidated Technical Notes 
  272. 168, HyperCard 'snd ' Resources; 169, HyperCard 1.0.1 and 1.1 Anomalies; 
  273. and 170, HyperCard File Format while adding and updating material with 
  274. regard to HyperCard 2.0 and condensing or obsoleting information on bugs 
  275. which have been addressed.
  276.  
  277.  Name  =  TN.160.Key Mapping
  278.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.160.Key Mapping
  279.  Size: 13K         Date: 5/18/91         Version: 
  280.  Description:
  281.  #160 - Key Mapping. Revised by Jim Luther, Peter Edberg, & Imran Sayeed 
  282. February 1991. Written by Cameron Birse September 1987. This Technical 
  283. Note describes the Macintosh family key code mapping scheme when running 
  284. System file 4.1 and later. This Note also provides a “safe” method for 
  285. remapping keyboards. Changes since October 1990 - Added a section on how 
  286. 'KMAP' resources are matched to specific ADB keyboard types and a section 
  287. on the original Macintosh and Macintosh Plus keyboards.
  288.  
  289.  Name  =  TN.144.Color Monitor Connection
  290.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.144.Color Monitor Connection
  291.  Size:  8K         Date: 5/18/91         Version: 
  292.  Description:
  293.  #144 - Macintosh Color Monitor Connections. Revised by Jim Luther & Wayne 
  294. Correia February 1991. Written by Mark Baumwell July 1987. This Technical 
  295. Note describes how to connect the Macintosh II Video Card, Macintosh IIci 
  296. built-in video, and Macintosh LC video to third-party monitors. Changes 
  297. since February 1990 - Added pinout description for the Macintosh LC 
  298. external video connector and a Macintosh LC to VGA monitor adapter cable.  
  299. Standardized signal names throughout Note.
  300.  
  301.  Name  =  TN.075.Multidisk Inst.
  302.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.075.Multidisk Inst.
  303.  Size:  8K         Date: 5/18/91         Version: 
  304.  Description:
  305.  #75 - This Technical Note documents Apple’s Multidisk Installer, and it is 
  306. in addition to separate Installer documentation which provides the details 
  307. of writing scripts.
  308.  
  309.  Name  =  TN.293.Excellent CD Notes
  310.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.293.Excellent CD Notes
  311.  Size: 13K         Date: 4/28/91         Version: 
  312.  Description:
  313.  #293 Most Excellent CD Notes. Written by James Beninghaus February 1991
  314. This Technical Note discusses issues concerning the use of the AppleCD SC 
  315. drive, the Apple CD-ROM device driver, and the Foreign File Access software
  316. extension.
  317.  
  318.  Name  =  TN.292.Bus Error Handlers
  319.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.292.Bus Error Handlers
  320.  Size: 11K         Date: 4/28/91         Version: 
  321.  Description:
  322.  #292 Bus Error Handlers. Written by Wayne Meretsky & Rich Collyer February 
  323. 1991. This Technical Note discusses bus errors and how applications and 
  324. drivers should deal with them.
  325.  
  326.  Name  =  TN.291.CMOS On LC PDS
  327.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.291.CMOS On LC PDS
  328.  Size:  4K         Date: 4/28/91         Version: 
  329.  Description:
  330.  #291 CMOS On Macintosh LC PDS. Written by Paul Baker & Rich Collyer 
  331. February 1991. This Technical Note provides PDS card developers with some 
  332. important information about making PDS cards for the Macintosh LC.
  333.  
  334.  Name  =  TN.290.WDEF and wDraw
  335.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.290.WDEF and wDraw
  336.  Size:  4K         Date: 4/28/91         Version: 
  337.  Description:
  338.  #290 Custom WDEF and wDraw. Written by Vincent Lo February 1991. This 
  339. Technical Note explains why custom window definition functions may not
  340. respond to a wDraw message from the system (if you follow the documentation
  341. in Inside Macintosh).
  342.  
  343.  Name  =  TN.289._CopyBits & GC QuickDraw
  344.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.289._CopyBits & GC QuickDraw
  345.  Size:  7K         Date: 4/28/91         Version: 
  346.  Description:
  347.  #289 Deaccelerated _CopyBits & 8•24 GC QuickDraw. Written by Guillermo A. 
  348. Ortiz February 1991. This Technical Note discusses conditions that may 
  349. cause _CopyBits to slow down when QuickDraw acceleration is on via the 
  350. Apple 8•24 GC Display Card.
  351.  
  352.  Name  =  TN.288.NuBus Block Transfers
  353.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.288.NuBus Block Transfers
  354.  Size: 11K         Date: 4/28/91         Version: 
  355.  Description:
  356.  #288 NuBus Block Transfer Mode sResource Entries. Written by Guillermo 
  357. Ortiz February 1991. This Technical Note describes the sResource entries 
  358. needed in a declaration ROM to inform NuBus™ masters when a board is 
  359. capable of receiving or sending block transfers.
  360.  
  361.  Name  =  TN.287.Spare A Block
  362.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.287.Spare A Block
  363.  Size: 13K         Date: 4/28/91         Version: 
  364.  Description:
  365.  #287 Hey Buddy, Can You Spare A Block? Written by Philip D. L. Koch, Jim 
  366. Reekes, & Kenny Tung February 1991. This Technical Note discusses a new 
  367. feature of the System Software 7.0 Disk Initialization Package—bad block 
  368. sparing.
  369.  
  370.  Name  =  TN.286.GPi The Reliable Way
  371.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.286.GPi The Reliable Way
  372.  Size:  9K         Date: 4/28/91         Version: 
  373.  Description:
  374.  #286 - The Serial General-Purpose Input (GPi). Written by Craig Prouse 
  375. February 1991. This Technical Note discusses the latest supported methods 
  376. for reading, validating, and configuring the GPi serial input across all 
  377. members of the Macintosh family.
  378.  
  379.  Name  =  Technical Notes Stack 4.0.4
  380.  Path =  AMUG CD:Files:MacTechNotes:Technical Notes Stack:Technical Notes Stack 4.0.4
  381.  Size:1181K         Date: 2/15/91         Version: 3.2.1
  382.  Description:
  383.  Technical Notes Stack 4.0.4 is a complete listing of all Tech Notes in 
  384. hypercard format.
  385.  
  386.  Name  =  Tech Note PICTs.sea
  387.  Path =  AMUG CD:Files:MacTechNotes:Technical Notes Stack:Tech Note PICTs.sea
  388.  Size:308K         Date: 2/15/91         Version: 
  389.  Description:
  390.  Tech Note PICTs.dd contains various picts for the Tech notes provided in 
  391. this section.
  392.  
  393.  Name  =  Technical Notes Stack Fonts
  394.  Path =  AMUG CD:Files:MacTechNotes:Technical Notes Stack:Technical Notes Stack Fonts
  395.  Size: 18K         Date: 2/15/91         Version: 
  396.  Description:
  397.  TN Stack Fonts contains the necessary fonts for running your TN Stack.
  398.  
  399.  Name  =  TN Indices 10-90.dd
  400.  Path =  AMUG CD:Files:MacTechNotes:TN Indices 10-90.dd
  401.  Size:116K         Date: 2/15/91         Version: 
  402.  Description:
  403.  TN Indices 10-90.dd is the Technotes indices from 10-91.
  404.  
  405.  Name  =  TN.284.IOP Diffs Under A/UX
  406.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.284.IOP Diffs Under A/UX
  407.  Size:  6K         Date: 2/15/91         Version: 
  408.  Description:
  409.  TN.284.IOP Diffs Under A/UX - This Technical Note discusses use of the 
  410. Macintosh IIfx IOP-based serial driver under A/UX, especially under certain
  411. error conditions which cause it to perform differently than documented in 
  412. termio(7).  (The SCC driver, used on non-IOP machines, conforms to 
  413. termio(7) in all cases.)  References to “the driver” herein refer to the 
  414. IOP-based serial driver, seriop.c.
  415.  
  416.  Name  =  TN.282.Smear Tactics
  417.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.282.Smear Tactics
  418.  Size:  5K         Date: 2/15/91         Version: 
  419.  Description:
  420.  TN.282.Smear Tactics - This Technical Note discusses a feature of the 
  421. current Macintosh hardware which will not be supported in the future.  
  422. Macintosh hardware developers and driver writers should be aware of this 
  423. limitation as it affects current and future products.
  424.  
  425.  Name  =  TN.281.Multiple Inheritance
  426.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.281.Multiple Inheritance
  427.  Size: 10K         Date: 2/15/91         Version: 
  428.  Description:
  429.  TN.281.Multiple Inheritance - This Technical Note answers a common question
  430. about MPW C++:  “Why doesn’t HandleObject support multiple inheritance?”  
  431. It does this by giving a brief overview of how multiple inheritance is 
  432. implemented in MPW C++.
  433.  
  434.  Name  =  TN.280.MacApp Bugs 3.0
  435.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.280.MacApp Bugs 3.0
  436.  Size: 51K         Date: 2/15/91         Version: 
  437.  Description:
  438.  TN.280.MacApp Bugs 3.0 - This Technical Note describes the latest 
  439. information about bugs or unexpected “features” in MacApp.  Where possible,
  440. solutions and fixes are noted.  DTS intends this Note to be a complete list
  441. of all known bugs in MacApp and will update it as old bugs are fixed or new
  442. ones appear.  If you have encountered a bug or unexpected feature which is 
  443. not described here, be sure to let DTS know.  Specific code examples and 
  444. suggested fixes are useful.
  445.  
  446.  Name  =  TN.279.LDEF Madness
  447.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.279.LDEF Madness
  448.  Size:  6K         Date: 2/15/91         Version: 
  449.  Description:
  450.  TN.279.LDEF Madness - This Technical Note uncovers a problem with writing 
  451. Pascal list definition procedures and two (yes, count  ’em, two) different 
  452. methods to work around it.
  453.  
  454.  Name  =  TN.278._PBClose the Barn Door
  455.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.278._PBClose the Barn Door
  456.  Size:  5K         Date: 2/15/91         Version: 
  457.  Description:
  458.  TN.278._PBClose the Barn Door - You may get the idea when implementing 
  459. device drivers that _PBClose is superfluous.  After all, if you have a 
  460. resident driver for a NuBus™ video board, the only time your driver is not 
  461. needed is if the operating system is going away.  It might seem that 
  462. nothing important can happen after the operating system goes away, so why 
  463. bother with _PBClose?  Well, it turns out a lot can happen, and this Note 
  464. tells you why it is important to implement a Close (_PBClose) routine.
  465.  
  466.  Name  =  TN.277.Time Space _CopyBits
  467.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.277.Time Space _CopyBits
  468.  Size: 25K         Date: 2/15/91         Version: 
  469.  Description:
  470.  TN.277.Time Space _CopyBits - This Technical Note describes the various 
  471. factors that can influence the speed of _CopyBits so that developers can 
  472. set up conditions to achieve the best performance for the particular 
  473. situation.
  474.  
  475.  Name  =  TN.276.Gimmie Depth or Death
  476.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.276.Gimmie Depth or Death
  477.  Size:  8K         Date: 2/15/91         Version: 
  478.  Description:
  479.  TN.276.Gimmie Depth or Death - This Technical Note describes two new system
  480. calls that allow an application to change the depth and flags for a given 
  481. device and also check whether a device supports a particular depth and 
  482. flags setting.  Apple provides these calls to give developers a better way 
  483. to help users make changes when they consider it appropriate.  Abusive use 
  484. of these calls is a sure way to guarantee that the Thought Police come 
  485. after you to confiscate your Macintoshes, your stock of Mountain Dew®, and 
  486. your Technical Notes binder.  This Note assumes familiarity with Inside 
  487. Macintosh, Volume V, Graphics Devices.
  488.  
  489.  Name  =  TN.273.SCSI Termination
  490.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.273.SCSI Termination
  491.  Size: 11K         Date: 2/15/91         Version: 
  492.  Description:
  493.  TN.273.SCSI Termination - This Technical Note discusses SCSI termination on
  494. the Macintosh, including the new rules of termination which are necessary 
  495. with the advent of the high-speed Macintosh IIfx. Changes since April 1990.
  496. Fixed a typographical error which represented µF as mFWhy Is The Terminator
  497. After Sarah Connor? One of the features of the Macintosh IIfx is a new SCSI
  498. chip that provides SCSI data transfer rates up to three megabytes per 
  499. second, faster than any existing Macintosh model.  To achieve these 
  500. transfer rates, components on the Macintosh IIfx logic board are smaller 
  501. and faster, requiring different termination configurations than previous 
  502. Macintosh models.
  503.  
  504.  Name  =  TN.272.Sony Drives For You
  505.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.272.Sony Drives For You
  506.  Size: 25K         Date: 2/15/91         Version: 
  507.  Description:
  508.  TN.272.Sony Drives For You - This Technical Note discusses the Sony driver 
  509. control and status calls that are available on the Macintosh.
  510. Changes since April 1990. Corrected Figure 2, since the Return Physical 
  511. Drive Icon (csCode = 21) returns an error message instead of an icon on the
  512. Macintosh Plus. This Note covers the external (software) interface to the 
  513. Sony 3.5” floppy disk and Hard Disk 20 driver.  It describes all the new 
  514. calls, including those for Modified Frequency Modulation (MFM) driver 
  515. versions.  This discussion assumes a general understanding of the operation
  516. of Macintosh drivers.
  517.  
  518.  Name  =  TN.268.MacinTalk Final Chapter
  519.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.268.MacinTalk Final Chapter
  520.  Size:  6K         Date: 2/15/91         Version: 
  521.  Description:
  522.  TN.268.MacinTalk Final Chapter - This Technical Note discusses the 
  523. MacinTalk software product. The Introduction. For the introduction of the 
  524. Macintosh computer, it was decided (by the powers formerly in charge) that 
  525. such a computer would need something very special to make it a unique 
  526. event.  To aid in this concept, a third-party company was contracted to 
  527. write a speech synthesizer which would allow the Macintosh computer to 
  528. introduce itself.  The contract was signed, and the work begun.
  529.  
  530.  Name  =  TN.267.TE Technicalities
  531.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.267.TE Technicalities
  532.  Size:  5K         Date: 2/15/91         Version: 
  533.  Description:
  534.  TN.267.TE Technicalities - This Technical Note discusses some areas in 
  535. TextEdit that have not previously been clearly documented.
  536.  
  537.  Name  =  TN.266.Pointing Device Struct
  538.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.266.Pointing Device Struct
  539.  Size: 18K         Date: 2/15/91         Version: 
  540.  Description:
  541.  TN.266.Pointing Device Struct - This Technical Note specifies a memory data
  542. structure for use by absolute pointing devices; it was developed for the 
  543. Apple Desktop Bus (ADB) but could also be used for devices using serial 
  544. input.  Generally, this data structure is created and updated by the 
  545. pointing device’s driver and read by either an application or the system 
  546. cursor rendering software.
  547.  
  548.  Name  =  TN.265.Pascal to C PROC Parms
  549.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.265.Pascal to C PROC Parms
  550.  Size: 16K         Date: 2/15/91         Version: 
  551.  Description:
  552.  TN.265.Pascal to C PROC Parms - This Technical Note talks about nested 
  553. procedures and PROCEDURE parameters in Pascal and what to do when 
  554. converting them into C or C++. Changes since February 1990. Fixed some type
  555. coercion problems.
  556.  
  557.  Name  =  TN.264.Date & Time Problems
  558.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.264.Date & Time Problems
  559.  Size:  6K         Date: 2/15/91         Version: 
  560.  Description:
  561.  TN.264.Date & Time Problems - This Technical Note describes known bugs and 
  562. features in and solutions to the date and time routines introduced in 
  563. Script Manager 2.0. From the beginning, the Macintosh’s ability to handle 
  564. dates was limited to a rather small range—slightly more than a century.  
  565. Enhancements to the Script Manager, introduced with System Software 6.0, 
  566. extended this range to ±35,000 years.  Unfortunately, there is a minor bug 
  567. in one of the crucial calls and a “feature” that looks like a bug in 
  568. another.
  569.  
  570.  Name  =  TN.263.International Canceling
  571.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.263.International Canceling
  572.  Size: 11K         Date: 2/15/91         Version: 
  573.  Description:
  574.  TN.263.International Canceling - This Technical Note describes potential 
  575. problems canceling operations with the Command-period key sequence and 
  576. international keyboards.
  577.  
  578.  Name  =  TN.262.Control & Status Calls
  579.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.262.Control & Status Calls
  580.  Size:  5K         Date: 2/15/91         Version: 
  581.  Description:
  582.  TN.262. This Technical Note discusses situations under which high-level 
  583. Status calls do not work correctly and PBStatus calls should be made 
  584. instead. Changes since February 1990, Information has been added describing
  585. similar problems with high-level Control calls.
  586.  
  587.  Name  =  TN.261.Cache As Cache Can
  588.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.261.Cache As Cache Can
  589.  Size: 10K         Date: 2/15/91         Version: 
  590.  Description:
  591.  TN.261.Cache As Cache Can - This Technical Note documents some new traps 
  592. for manipulating the data and instruction caches on 68030-based Macintosh 
  593. models and describes the MMU mapping set up by the ROMs for NuBus™ cards. 
  594. The Motorola MC68030 CPU used by the Macintosh IIx, IIcx, IIci, and SE/30 
  595. includes a data cache, an instruction cache, and a MMU (Memory Management 
  596. Unit).  This Note describes the problems that data caching can cause, 
  597. Apple’s solution to this problem, and additional information about MMU 
  598. mapping on MC68030-equipped machines.
  599.  
  600.  Name  =  TN.260.NuBus Power Limits
  601.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.260.NuBus Power Limits
  602.  Size:  8K         Date: 2/15/91         Version: 
  603.  Description:
  604.  TN.260.NuBus Power Limits - This Technical Note discusses a very real power
  605. limit for NuBus™ expansion cards and warns developers to heed this limit 
  606. lest they want users trashing their machines by overextending the Macintosh
  607. power supply.
  608.  
  609.  Name  =  TN.259.Old Style Colors
  610.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.259.Old Style Colors
  611.  Size:  8K         Date: 2/15/91         Version: 
  612.  Description:
  613.  TN.259.Old Style Colors - This Technical Note covers limitations of the 
  614. original Macintosh color model (eight-color) which Inside Macintosh, Volume
  615. I-173, QuickDraw does not document. Changes since October 1989. Added 
  616. definitions of the old-style constants.
  617.  
  618.  Name  =  TN.258.Our Checksum Bounced
  619.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.258.Our Checksum Bounced
  620.  Size:  6K         Date: 2/15/91         Version: 
  621.  Description:
  622.  TN.258.Our Checksum Bounced - This Technical Note discusses a fix to a SCSI
  623. Manager bug which concerns all developers working with SCSI and NuBus™ 
  624. device drivers.
  625.  
  626.  Name  =  TN.257.Slot Interrupt Priority
  627.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.257.Slot Interrupt Priority
  628.  Size:  3K         Date: 2/15/91         Version: 
  629.  Description:
  630.  TN.257.Slot Interrupt Priority - This Technical Note describes the way 
  631. interrupt priorities are scheduled, which corrects the description of slot 
  632. interrupt queue priorities in the Device Manager chapter of Inside 
  633. Macintosh, Volume V-426.
  634.  
  635.  Name  =  TN.256.Stand-Alone Code.cpt
  636.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.256.Stand-Alone Code.cpt
  637.  Size:131K         Date: 2/15/91         Version: 
  638.  Description:
  639.  TN.256.Stand-Alone Code.cpt - This Technical Note discusses many of the 
  640. issues related to stand-alone code modules.  This Note is by no means a 
  641. completely original work, as the author borrows freely from the work of 
  642. Keith Rollin, Mark Baumwell, and Jim Friedlander. Changes since October 
  643. 1989. Completely rewritten to broaden the discussion of stand-alone code 
  644. modules and include a greater scope of examples.  Incorporates Technical 
  645. Notes #110, MPW: Writing Stand-Alone Code and #145, Debugger FKEY.
  646.  
  647.  Name  =  TN.255.Portable ROM Expansion
  648.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.255.Portable ROM Expansion
  649.  Size: 19K         Date: 2/15/91         Version: 
  650.  Description:
  651.  TN.255.Portable ROM Expansion - This Technical Note explains the practice 
  652. of and theory behind compatible use of the expansion ROM in the Macintosh 
  653. Portable. Due to the unique nature of the Macintosh Portable, developers 
  654. now have the ability to add ROM to the Macintosh.  To provide for 
  655. compatible shared use of this ROM space with Apple and other developers, 
  656. this Note describes the feature and suggests methods of shared 
  657. implementation.
  658.  
  659.  Name  =  TN.254.Portable PDS Development
  660.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.254.Portable PDS Development
  661.  Size: 16K         Date: 2/15/91         Version: 
  662.  Description:
  663.  TN.254.Portable PDS Development - The Technical Note describes the unique 
  664. aspects of the Macintosh Portable Processor Direct Slot (PDS), including 
  665. the severe limitations in its use. Changes since October 1989. Corrected 
  666. PDS pin and signal descriptions in Tables 2 and 3.
  667.  
  668.  Name  =  TN.253.SICNs in Menus
  669.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.253.SICNs in Menus
  670.  Size:  8K         Date: 2/15/91         Version: 
  671.  Description:
  672.  TN.253.SICNs in Menus - This Technical Note describes a new facility of the
  673. Menu Manager which allows you to add reduced icons and small icons to your 
  674. menus. Changes since August 1989. Corrected references to SetItemCmd from 
  675. SetItmCmd.
  676.  
  677.  Name  =  TN.252.Plotting Small Icons
  678.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.252.Plotting Small Icons
  679.  Size: 11K         Date: 2/15/91         Version: 
  680.  Description:
  681.  TN.252.Plotting Small Icons - This Technical Note discusses the 'SICN' 
  682. resource format and how to plot one in a GrafPort. Changes since August 
  683. 1989. Corrected errors in the Pascal code and spruced up the rest.
  684.  
  685.  Name  =  TN.251.Safe cdevs
  686.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.251.Safe cdevs
  687.  Size:  6K         Date: 2/15/91         Version: 
  688.  Description:
  689.  TN.251.Safe cdevs - This Technical Note describes a potential problem with 
  690. Control Panel devices (cdevs) that contain EditText fields and presents a 
  691. way to avoid it. The Control Panel chapter in Inside Macintosh, Volume 5 
  692. describes, in detail, how run-time errors are handled by the Control Panel 
  693. and a cdev.  There is, however, a potential problem with cdevs that contain
  694. EditText items that this chapter does not cover.
  695.  
  696.  Name  =  TN.250.AppleTalk Phase 2
  697.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.250.AppleTalk Phase 2
  698.  Size: 33K         Date: 2/15/91         Version: 
  699.  Description:
  700.  TN.250.AppleTalk Phase 2 - This Technical Note discusses the new features 
  701. and calls available with AppleTalk Phase 2. Changes since August 1989. 
  702. Incorporated the ClosePrep and CancelClosePrep transitions and the new 
  703. control calls to the .MPP driver.AppleTalk Phase 2 is only available on 
  704. Macintosh Plus or later Macintosh platforms, and it requires the 
  705. installation of AppleTalk file V53, or greater.  Both EtherTalk 2.0 and 
  706. TokenTalk 2.0 automatically install this AppleTalk file.  Developer 
  707. Technical Support can supply the Phase 2 drivers for development use; 
  708. however, if you need to include the Phase 2 drivers in your product, you 
  709. must license them from Software Licensing.
  710.  
  711.  Name  =  TN.249.Opening Serial Driver
  712.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.249.Opening Serial Driver
  713.  Size:  5K         Date: 2/15/91         Version: 
  714.  Description:
  715.  TN.249.Opening Serial Driver - This Technical Note describes the 
  716. recommended, safe, and compatible way to open the Macintosh serial driver, 
  717. and it explains why you should no longer check for port availability.
  718. Changes since October 1989:  Corrected syntax errors in the sample code.
  719.  
  720.  Name  =  TN.248.DAs in Need of Time
  721.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.248.DAs in Need of Time
  722.  Size:  9K         Date: 2/15/91         Version: 
  723.  Description:
  724.  TN.248.DAs in Need of Time - This Technical Note describes a few 
  725. complications which rear their rather ugly little heads when a desk 
  726. accessory or driver needs periodic time.  It also presents a few solutions 
  727. to work around these problems and make life easier, at least periodically.
  728. Changes since August 1989:  Corrected _BitClr and _BitSet  examples.  Okay,
  729. I admit it.  I was having too good of a time when I wrote the original Note
  730. and messed up the bit manipulations at the end.  My vision was blurred; I 
  731. was in no condition to see those tiny little things.
  732.  
  733.  Name  =  TN.247.DeskHook and INIT Evils
  734.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.247.DeskHook and INIT Evils
  735.  Size:  8K         Date: 2/15/91         Version: 
  736.  Description:
  737.  TN.247.DeskHook and INIT Evils - This Technical Note discusses INIT evils, 
  738. the foremost of which deals with clearing DeskHook and DragHook at INIT 
  739. time Changes since August 1989. Added warning about clearing DragHook.If 
  740. you’ve survived the typical DTS Tirade* and still feel the need to display 
  741. a dialog box or window in an INIT, you need to be aware of a problem which 
  742. exists on Macintoshes earlier than the Macintosh II (remember those?).  
  743. There is a low-memory global named DeskHook ($A6C), which can contain a 
  744. pointer to a routine responsible for painting the Macintosh desktop.
  745.  
  746.  Name  =  TN.246.Mixing HFS and C I/O
  747.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.246.Mixing HFS and C I/O
  748.  Size:  8K         Date: 2/15/91         Version: 
  749.  Description:
  750.  TN.246.Mixing HFS and C I/O - This Technical Note discusses the problem of 
  751. mixing calls to the Macintosh file system with calls to MPW C library file 
  752. I/O routines. Problems with Communication Between HFS and C Frequently, 
  753. developers want to use both Macintosh file I/O and C file I/O.  Developers 
  754. who do this must keep in mind that they are combining two distinct file 
  755. representations (the Macintosh and ANSI C).  The only limitation on mixing 
  756. HFS and C I/O functions is that they cannot be mixed on the same open file.
  757. There are three reasons why this cannot be done.
  758.  
  759.  Name  =  TN.245.Font Family Numbers
  760.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.245.Font Family Numbers
  761.  Size:  9K         Date: 2/15/91         Version: 
  762.  Description:
  763.  TN.245.Font Family Numbers - This Technical Note discusses the range of 
  764. numbers available for identifying font families, how they are allocated 
  765. among script systems, what numbers should be used for fonts that were 
  766. designed to be used as a tool in an application, and Apple’s font 
  767. registration program.
  768.  
  769.  Name  =  TN.244.Color Cursor Cursing
  770.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.244.Color Cursor Cursing
  771.  Size:  4K         Date: 2/15/91         Version: 
  772.  Description:
  773.  TN.244.Color Cursor Cursing - Working with color cursors you create from 
  774. scratch can cause headaches.  This Technical Note may help a bit.
  775. Changes since June 1989:  Added a warning about purgeable 'clut' resources.
  776. If you’re building an application that creates color cursors, you may 
  777. encounter some quirks present in Color QuickDraw that manifest themselves 
  778. in hard-to-understand ways.
  779.  
  780.  Name  =  TN.243.Script Mgr Variables
  781.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.243.Script Mgr Variables
  782.  Size: 24K         Date: 2/15/91         Version: 
  783.  Description:
  784.  TN.243.Script Mgr Variables - The Script Manager maintains a number of 
  785. global variables which can be read with the routine _GetEnvirons.  These 
  786. variables can be set by a corresponding routine, _SetEnvirons.  In 
  787. addition, each script interface system maintains variables of its own.  
  788. These are referred to as local variables in Inside Macintosh, Volume V-293,
  789. The Script Manager, and are read by _GetScript and set by _SetScript.
  790.  
  791.  Name  =  TN.242.Fonts and the Script Mgr
  792.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.242.Fonts and the Script Mgr
  793.  Size: 12K         Date: 2/15/91         Version: 
  794.  Description:
  795.  TN.242.Fonts and the Script Mgr - The traps _FontScript, _IntlScript, and 
  796. _Font2Script all use a font family ID to determine the script interface 
  797. system code that they return.  This Note describes the process, the way the
  798. Script Manager renumbers the Chicago font for non-Roman systems, and the 
  799. equation for calculating Script IDs from font family IDs.
  800.  
  801.  Name  =  TN.241.ScriptMgr Pixel2Char
  802.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.241.ScriptMgr Pixel2Char
  803.  Size: 10K         Date: 2/15/91         Version: 
  804.  Description:
  805.  TN.241.ScriptMgr Pixel2Char - This Technical Note discusses the Pixel2Char 
  806. routine provided by the Script Manager. Changes since June 1989:  Clarified
  807. information, corrected minor errors, and replaced the illustration. The 
  808. leftSide flag in the Pixel2Char routine was inappropriately named, and it 
  809. should now be called the leadingEdge flag.  The reason for this change is 
  810. that the value Pixel2Char returns indicates whether a mouse-down occurred 
  811. on the leading edge of a character, which is not always the left side.  (In
  812. Arabic or Hebrew, both of which are right-to-left scripts, the mouse-down 
  813. occurs on the right side of the character.)
  814.  
  815.  Name  =  TN.240.MPW for Non-Mac Systems
  816.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.240.MPW for Non-Mac Systems
  817.  Size: 17K         Date: 2/15/91         Version: 
  818.  Description:
  819.  TN.240.MPW for Non-Mac Systems - Occasionally there is a need to create 
  820. routines or programs for non-Macintosh systems.  Such situations can occur 
  821. if you are writing a driver for a NuBus board, developing a peripheral that
  822. uses a 68xxx microprocessor, or perhaps targeting a proprietary 68xxx 
  823. machine (Apple uses MPW for all of its ROM and NuBus development.)
  824.  
  825.  Name  =  TN.239.Inside Object Pascal
  826.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.239.Inside Object Pascal
  827.  Size:  5K         Date: 2/15/91         Version: 
  828.  Description:
  829.  TN.239.Inside Object Pascal - This Technical Note briefly explains why 
  830. Object Pascal and MacApp should only be used to write applications and MPW 
  831. tools. Although Pascal can be used to write desk accessories, drivers, 
  832. XCMDs and other types of stand–alone code, and Object Pascal is an 
  833. extension of Pascal, Object Pascal cannot be used to write anything other 
  834. than an application.  This limitation is due to the fact that Object Pascal
  835. method dispatching relies on a valid A5 pointing to a jump table.  Because 
  836. MacApp is written in Object Pascal, this limitation applies to it as well.
  837.  
  838.  Name  =  TN.238.Getting a Full Pathname
  839.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.238.Getting a Full Pathname
  840.  Size: 11K         Date: 2/15/91         Version: 
  841.  Description:
  842.  TN.238.Getting a Full Pathname - This Technical Note describes how to 
  843. generate a full pathname, given either a Working Directory ID or a real 
  844. vRefNum and a DirID. By using the techniques shown in this Note, you can 
  845. find the full pathname from information such as that returned by Standard 
  846. File. Changes since June 89. Added a note on how to check for A/UX.  Fixed 
  847. bug in C version:  BlockMove() parameters were reversed in pStrcpy(); added
  848. range checking to pStrCat(); changed references from “longint” to “long”.  
  849. Fixed bug in Pascal and C versions:  Changed fsRtDir to fsRtdirID and made 
  850. references to gHaveAUX consistent.
  851.  
  852.  Name  =  TN.237.TextEdit Limits Again
  853.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.237.TextEdit Limits Again
  854.  Size:  6K         Date: 2/15/91         Version: 
  855.  Description:
  856.  TN.237.TextEdit Limits Again - This Technical Note describes another limit 
  857. on the length of a TextEdit record that was previously undocumented. The 
  858. TextEdit chapters in Inside Macintosh document the 32K character limit on a
  859. TextEdit record length.  They do not, however, discuss the more subtle 
  860. constraint on the size of the destRect.  By definition, the destRect uses 
  861. integer values for the top-left and bottom-right boundary points.  It is 
  862. possible to have values too large for the destRect without reaching the 
  863. teLength limit.
  864.  
  865.  Name  =  TN.236.Speedy Coprocessor
  866.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.236.Speedy Coprocessor
  867.  Size: 27K         Date: 2/15/91         Version: 
  868.  Description:
  869.  TN.236.Speedy Coprocessor - This Technical Note presents an overview of the
  870. 68881 and 68882 math coprocessors, and it covers general information about 
  871. the chips as well as how using the chips directly can help speed your 
  872. math–intensive code.
  873.  
  874.  Name  =  TN.235.Coop with Coprocessor
  875.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.235.Coop with Coprocessor
  876.  Size:  7K         Date: 2/15/91         Version: 
  877.  Description:
  878.  TN.235.Coop with Coprocessor - The use of the 68881 or 68882 coprocessor is
  879. usually handled by the SANE package or by a development system’s libraries.
  880. Some developers may wish to use the coprocessor during special 
  881. circumstances, such as at interrupt level or installing their own hardware 
  882. floating point exception handlers.  In these two situations, there are 
  883. special requirements that must be met.  These requirements will require 
  884. floating–point assembly code and are discussed in this Technical Note.
  885. Changes since June 1989. Noted that the new Sound Manager no longer uses 
  886. floating-point numbers at interrupt time.
  887.  
  888.  Name  =  TN.234.NuBus Physical Designs
  889.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.234.NuBus Physical Designs
  890.  Size: 23K         Date: 2/15/91         Version: 
  891.  Description:
  892.  TN.234.NuBus Physical Designs - This Technical Note discusses the possible 
  893. problems you might run into while designing a NuBus™ card.  It covers some 
  894. of the specifications which, if not followed, will have problems with 
  895. current Macintosh machines, and possibly future machines. Changes since 
  896. June 1989. Added warnings about the no component area and full-size NuBus 
  897. cards.
  898.  
  899.  Name  =  TN.233.MF and _SetGrowZone
  900.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.233.MF and _SetGrowZone
  901.  Size:  6K         Date: 2/15/91         Version: 
  902.  Description:
  903.  TN.233.MF and _SetGrowZone - MultiFinder gives each application its own 
  904. heap in which to run.  Because it wants to do some fairly tricky memory 
  905. management, MultiFinder installs its own grow zone procedure (gzProc) in 
  906. the application heap, and patches _SetGrowZone to store your application’s 
  907. gzProc in a temporary variable inside of itself.
  908.  
  909.  Name  =  TN.232.Strip _OpenResFile...
  910.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.232.Strip _OpenResFile...
  911.  Size:  5K         Date: 2/15/91         Version: 
  912.  Description:
  913.  TN.232.Strip _OpenResFile...- This Technical Note discusses a bug in 
  914. _OpenResFile and _OpenRFPerm which can cause system crashes and what you 
  915. can do to avoid this problem. The traps _OpenResFile and _OpenRFPerm call 
  916. some common code in 128K and later ROMs which was affected by some system 
  917. patches for early print drivers.  The problem is that the common code 
  918. checks an attribute bit in the pointer to the string name to see if it is a
  919. dereferenced handle. 
  920.  
  921.  Name  =  TN.231.Allegro Common Lisp
  922.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.231.Allegro Common Lisp
  923.  Size: 16K         Date: 2/15/91         Version: 
  924.  Description:
  925.  TN.231.Allegro Common Lisp - This Technical Note describes some known 
  926. problems and provides solutions to these problems for the Macintosh Allegro
  927. Common Lisp™ package which is available from Apple Computer, Inc.  You 
  928. should note, however, that although Apple acquired Coral Software and is 
  929. selling Macintosh Allegro Common Lisp, Apple is not currently distributing 
  930. any other products which had been developed or previously sold by Coral 
  931. Software.
  932.  
  933.  Name  =  TN.230.Macintosh SE/30
  934.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.230.Macintosh SE/30
  935.  Size: 12K         Date: 2/15/91         Version: 
  936.  Description:
  937.  TN.230.Macintosh SE/30 - This Technical Note discusses the Macintosh SE/30,
  938. items of interest to developers, and sources for further information.
  939. Changes since April 1989. Corrected an error in the addresses of the video 
  940. display buffers. The Macintosh SE/30 is a modification of the original 
  941. Macintosh SE concept.  The SE/30 combines the modularity of the original SE
  942. with the capabilities of the larger Macintosh IIx.  Although the name 
  943. implies that the SE/30 borrows many characteristics from the SE, there are 
  944. actually substantial differences between the two machines, and this Note 
  945. addresses some of those differences.
  946.  
  947.  Name  =  TN.228.Swapping MMU Mode
  948.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.228.Swapping MMU Mode
  949.  Size:  5K         Date: 2/15/91         Version: 
  950.  Description:
  951.  TN.228.Swapping MMU Mode - This Technical Note describes how to avoid 
  952. crashing when swapping into 32-bit mode on a Macintosh II.  Thanks to Jim 
  953. Berry and Dan Weston for pointing this out. There is a condition where 
  954. calling _SwapMMUMode to switch the Macintosh II into 32-bit mode can cause 
  955. the system to crash.  This condition happens in code which is loaded into 
  956. memory from a resource, or is placed in memory that was allocated by the 
  957. Memory Manager and is subsequently executed by using the master pointer as 
  958. the address for a JSR instruction.  This condition includes stand-alone, 
  959. executable code resources (i.e., 'XCMD', 'XFCN', 'INIT', 'ADBS','FKEY', 
  960. etc.), but does not apply to standard 'CODE' resources.
  961.  
  962.  Name  =  TN.227.Toolbox Karma
  963.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.227.Toolbox Karma
  964.  Size:  6K         Date: 2/15/91         Version: 
  965.  Description:
  966.  TN.227.Toolbox Karma - This Technical Note discusses Macintosh Toolbox 
  967. compatibility and what you can do to help the Macintosh continue evolving 
  968. in the future. It is getting increasingly difficult to make additions to 
  969. the Macintosh Toolbox.  The single greatest obstacle today is 
  970. compatibility.  Often, engineering is prevented from doing something in an 
  971. elegant manner because it would break some applications.  This usually 
  972. leaves three choices.
  973.  
  974.  Name  =  TN.226.Moving Your Cat
  975.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.226.Moving Your Cat
  976.  Size: 13K         Date: 2/15/91         Version: 
  977.  Description:
  978.  #226 Moving Your Cat Revised by John Harvey February 1991. This Technical 
  979. Note clarifies the documentation in Inside Macintosh for _PBCatMove and 
  980. provides a demonstration on how to use it. Changes since February 1989. 
  981. Added a discussion of using NIL for the destination name pointer, which is 
  982. the simplest way to use _CatMove, and revised the sample code to use the 
  983. high-level File Manager calls.  Thanks to Tim Dierks of Apple Developer 
  984. Technical Support U.K. for pointing out the problems with the previous 
  985. version of this Note.
  986.  
  987.  Name  =  TN.225.Using RegisterName
  988.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.225.Using RegisterName
  989.  Size:  4K         Date: 2/15/91         Version: 
  990.  Description:
  991.  TN.225.Using RegisterName - The verify flag indicator byte (verifyFlag) of 
  992. the AppleTalk RegisterName function should always be set TRUE in published 
  993. code. The AppleTalk chapter of Inside Macintosh, Volume II-322, in 
  994. describing the RegisterName function, states:
  995.  
  996.  Name  =  TN.224.Opening AppleTalk
  997.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.224.Opening AppleTalk
  998.  Size:  5K         Date: 2/15/91         Version: 
  999.  Description:
  1000.  TN.224.Opening AppleTalk - This Technical Note describes the most 
  1001. effective, safe, and compatible way to open the AppleTalk drivers, .MPP and
  1002. .ATP. The process of opening the AppleTalk drivers, .MPP and .ATP, can be 
  1003. greatly simplified.  The AppleTalk Manager chapters of Inside Macintosh 
  1004. describe the calls MPPOpen and ATPLoad for use by high-level languages.  
  1005. They also describe the process of examining low-memory globals SPConfig and
  1006. PortBUse before calling _Open for assembly language use of AppleTalk.
  1007.  
  1008.  Name  =  TN.223._InitGraph with MPW Asm
  1009.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.223._InitGraph with MPW Asm
  1010.  Size:  5K         Date: 2/15/91         Version: 
  1011.  Description:
  1012.  TN.223._InitGraph with MPW Asm - The Macintosh Programmer’s Workshop (MPW) 
  1013. requires assembly-language programmers to allocate their own QuickDraw 
  1014. global variables rather than use the default record as indicated in Inside 
  1015. Macintosh.
  1016.  
  1017.  Name  =  TN.222.Custom Menu Flashing
  1018.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.222.Custom Menu Flashing
  1019.  Size:  4K         Date: 2/15/91         Version: 
  1020.  Description:
  1021.  TN.222.Custom Menu Flashing - Selected menu items in a custom 'MDEF' 
  1022. resource do not flash correctly due to a bug in the Menu Manager.  This 
  1023. Technical Note describes the problem and explains how to make your 'MDEF' 
  1024. flash correctly.
  1025.  
  1026.  Name  =  TN.221.NuBus Interrupt Latency
  1027.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.221.NuBus Interrupt Latency
  1028.  Size:  9K         Date: 2/15/91         Version: 
  1029.  Description:
  1030.  TN.221.NuBus Interrupt Latency - This Technical Note discusses NuBus™ 
  1031. interrupt latency, and why, contrary to popular belief, the Macintosh is 
  1032. not a real-time machine. Changes since December 1988:  Changed sample code 
  1033. to defer cursor rendering to a deferred task rather than a “pseudo-VBL” 
  1034. task.
  1035.  
  1036.  Name  =  TN.220.Segment Loader Limits
  1037.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.220.Segment Loader Limits
  1038.  Size:  5K         Date: 2/15/91         Version: 
  1039.  Description:
  1040.  TN.220.Segment Loader Limits - This Technical Note discusses the jump table
  1041. limitations of the Segment Loader and suggests some ways to work around 
  1042. these limitations to minimize the problem.  These limitations are most 
  1043. evident to developers using MacApp and other object-oriented environments.
  1044.  
  1045.  Name  =  TN.219.New Memory Manager Glue
  1046.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.219.New Memory Manager Glue
  1047.  Size:  4K         Date: 2/15/91         Version: 
  1048.  Description:
  1049.  TN.219.New Memory Manager Glue - This Technical Note describes some new 
  1050. Memory Manager routines which make life a little easier for C and Pascal 
  1051. programmers. MPW 3.0 includes some new glue routines that allow you to 
  1052. allocate pre-zeroed handles and pointers and to allocate memory (zeroed or 
  1053. otherwise) in the system heap.  These capabilities have always been 
  1054. available to assembly language programmers, but these routines make it 
  1055. possible for C and Pascal programmers to achieve the same results.
  1056.  
  1057.  Name  =  TN.218.New High-Level File Mgr
  1058.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.218.New High-Level File Mgr
  1059.  Size:  6K         Date: 2/15/91         Version: 
  1060.  Description:
  1061.  TN.218.New High-Level File Mgr - This Technical Note describes some new 
  1062. high-level File Manager calls that make dealing with the Hierarchical File 
  1063. System (HFS) easier. When the Hierarchical File System (HFS) was first 
  1064. introduced, a large number of low-level File Manager calls were documented.
  1065. Unfortunately, higher-level equivalents to these calls were not present 
  1066. until now.  The glue for these routines is built into MPW 3.0.  They are 
  1067. provided as a convenience for those of you who hate filling in parameter 
  1068. blocks.
  1069.  
  1070.  Name  =  TN.216.AppleShare Limits
  1071.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.216.AppleShare Limits
  1072.  Size:  3K         Date: 2/15/91         Version: 
  1073.  Description:
  1074.  TN.216.AppleShare Limits - This Technical Note describes some 
  1075. machine-dependent limits of current versions of AppleShare and AppleShare 
  1076. servers. The following chart lists some current AppleShare limits which are
  1077. based upon the chosen server platform and memory configuration.  The limits
  1078. which otherwise might be present on a workstation are still in effect and 
  1079. are not affected by the workstation being logged into an AppleShare server.
  1080. These limits will change in the future.
  1081.  
  1082.  Name  =  TN.215.“New” cdev Messages
  1083.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.215.“New” cdev Messages
  1084.  Size:  5K         Date: 2/15/91         Version: 
  1085.  Description:
  1086.  TN.215.“New” cdev Messages - This Technical Note describes some previously 
  1087. undocumented messages that the Control Panel can send to a Control Panel 
  1088. device (cdev). The Control Panel will send messages to a Control Panel 
  1089. device (cdev) in response to the user selecting the Undo, Cut, Copy, Paste 
  1090. and Clear items of the Edit menu.  It will also send a message if the cdev 
  1091. contains a 'CURS' = –4064 resource.  The following is a list of the 
  1092. previously undocumented messages, descriptions, and values:
  1093.  
  1094.  Name  =  TN.214.New Resource Mgr Calls
  1095.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.214.New Resource Mgr Calls
  1096.  Size:  4K         Date: 2/15/91         Version: 
  1097.  Description:
  1098.  TN.214.New Resource Mgr Calls - This Technical Note describes two new 
  1099. Resource Manager calls that make opening and creating resource files much 
  1100. easier. MPW 3.0 supplies glue routines for two new Resource Manager calls 
  1101. which provide new, easier ways of opening and creating resource files.
  1102.  
  1103.  Name  =  TN.213._StripAddress
  1104.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.213._StripAddress
  1105.  Size:  9K         Date: 2/15/91         Version: 
  1106.  Description:
  1107.  TN.213._StripAddress - Inside Macintosh, Volume V, The OS Utilities, 
  1108. incorrectly documents the _StripAddress trap; this Technical Note correctly
  1109. documents the trap and gives guidelines for its use. Changes since April 
  1110. 1990. Added a discussion of why the _StripAddress trap should be used under
  1111. certain circumstances when patching traps.
  1112.  
  1113.  Name  =  TN.212.Joy of 32-Bit Clean
  1114.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.212.Joy of 32-Bit Clean
  1115.  Size: 12K         Date: 2/15/91         Version: 
  1116.  Description:
  1117.  TN.212.Joy of 32-Bit Clean - What to do (and what not to do) to make your 
  1118. programs run under A/UX and future versions of the Macintosh System 
  1119. Software. Changes since October 1988. Added information on writing 32-bit 
  1120. clean CDEFs, and updated A/UX information to reflect the capabilities of 
  1121. A/UX 1.1.
  1122.  
  1123.  Name  =  TN.211.Palette Manager Changes
  1124.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.211.Palette Manager Changes
  1125.  Size:  6K         Date: 2/15/91         Version: 
  1126.  Description:
  1127.  TN.211.Palette Manager Changes - This Technical Note describes the changes 
  1128. and enhancements to the Palette Manager in System Software 6.0.2 and future
  1129. versions.
  1130.  
  1131.  Name  =  TN.210.Desktop File Limits
  1132.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.210.Desktop File Limits
  1133.  Size:  4K         Date: 2/15/91         Version: 
  1134.  Description:
  1135.  TN.210.Desktop File Limits - There is a limit to the number of 
  1136. applications/files that the Finder can “see” on a single volume. This 
  1137. limitation is imposed by the Desktop file. The Desktop file is a resource 
  1138. file that the Finder uses to keep track of information about files and 
  1139. applications, including Finder file comments (Get Info comments), and how 
  1140. these files and applications relate to each other.
  1141.  
  1142.  Name  =  TN.209.CD ROM Formats
  1143.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.209.CD ROM Formats
  1144.  Size:  5K         Date: 2/15/91         Version: 
  1145.  Description:
  1146.  TN.209.CD ROM Formats - Generally, if a Macintosh has problems with a High 
  1147. Sierra disc, it’s because the disc in question  doesn’t really conform to 
  1148. the High Sierra specification.  There are actually two specifications of 
  1149. the High Sierra format. The Paper 28 May 1986 Working Paper for Information
  1150. Processing — Volume and File Structure of Compact Read Only Optical Discs 
  1151. for Information Interchange (known as the “High Sierra” specification.)  
  1152. We’ll call discs conforming to this standard “High Sierra” discs.
  1153.  
  1154.  Name  =  TN.208.Setting and Restoring A5
  1155.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.208.Setting and Restoring A5
  1156.  Size:  9K         Date: 2/15/91         Version: 
  1157.  Description:
  1158.  TN.208.Setting and Restoring A5 - The routines SetupA5 and RestoreA5 do not
  1159. work properly when used with some optimizing Pascal and C compilers.  Two 
  1160. new routines, SetCurrentA5 and SetA5, are available in MPW 3.0, and they 
  1161. should work with any compiler. Changes since December 1988. Removed the 
  1162. sample code and expanded the explanation of these two routines.  The sample
  1163. code in Technical Note #180 reflects these new A5 routines.
  1164.  
  1165.  Name  =  TN.207.Styled TextEdit 6.0
  1166.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.207.Styled TextEdit 6.0
  1167.  Size: 28K         Date: 2/15/91         Version: 
  1168.  Description:
  1169.  TN.207.Styled TextEdit 6.0 - Some changes were made to TextEdit in System 
  1170. 6.0 to provide more functionality and to make life easier for the 
  1171. programmer using TextEdit.  This Note documents those changes and 
  1172. enhancements. Changes since August 1, 1988:  Corrected an error in 
  1173. TEDispatchRec in the figure on page 8.
  1174.  
  1175.  Name  =  TN.206.Space Aliens (ADB) 10/91
  1176.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.206.Space Aliens (ADB) 10/91
  1177.  Size: 14K         Date: 2/15/91         Version: 
  1178.  Description:
  1179.  TN.206.Space Aliens (ADB) - October 1991 - This Technical Note explains how
  1180. the Apple Desktop Bus (ADB) works on the Macintosh.  This Note covers the 
  1181. boot process, driver installation, ADB Manager run-time behavior, use of 
  1182. ADB Manager calls, and answers commonly asked questions.
  1183.  
  1184.  Name  =  TN.205.MultiFinder Revisited
  1185.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.205.MultiFinder Revisited
  1186.  Size: 12K         Date: 2/15/91         Version: 
  1187.  Description:
  1188.  TN.205.MultiFinder Revisited - This Technical Note describes several new 
  1189. features found in MultiFinder 6.0 and answers a few more commonly-asked 
  1190. questions. Changes since October 1989:  Clarified the section on 
  1191. childDiedEvent events. How Can I Tell If MultiFinder is Present. Once 
  1192. again, you can’t.  Previous Technical Notes discuss how to check for the 
  1193. new services available with MultiFinder (i.e., _WaitNextEvent and the 
  1194. temporary memory allocation calls).
  1195.  
  1196.  Name  =  TN.204.HFS Tidbits
  1197.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.204.HFS Tidbits
  1198.  Size:  4K         Date: 2/15/91         Version: 
  1199.  Description:
  1200.  TN.204.HFS Tidbits - This Technical Note describes two poorly documented 
  1201. features of the File Manager. Always Set ioFVersNum to Zero - When making a
  1202. File Manager call which uses a CInfoPBRec, or the fileParam or ioParam 
  1203. portion of either a ParamBlockRec or an HParamBlockRec, you should set the 
  1204. ioFVersNum field to zero. 
  1205.  
  1206.  Name  =  TN.203.Managerial Abuse
  1207.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.203.Managerial Abuse
  1208.  Size: 13K         Date: 2/15/91         Version: 
  1209.  Description:
  1210.  TN.203.Managerial Abuse - When using the various pieces of the Macintosh 
  1211. operating system there is a temptation to try to stretch the built-in 
  1212. Managers too far. Developers should be aware of the intended purpose of the
  1213. various Managers and beware of using them for things that they were not 
  1214. designed to handle. If extended beyond their design goals, they will become
  1215. slow and unwieldy.
  1216.  
  1217.  Name  =  TN.202.Resetting the Event Mask
  1218.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.202.Resetting the Event Mask
  1219.  Size:  6K         Date: 2/15/91         Version: 
  1220.  Description:
  1221.  TN.202.Resetting the Event Mask - In most cases, applications should not 
  1222. modify the system event mask, which means they should avoid calling 
  1223. SetEventMask and not alter the low-memory global SysEvtMask.  Modifying the
  1224. event mask is of no use to most applications, and the only situation in 
  1225. which an application might need to modify it is to detect key-up events.  
  1226. Only those developers creating applications which must detect key-up events
  1227. need to know the information presented in this Technical Note.  Other 
  1228. developers should avoid altering the system event mask at all costs.
  1229.  
  1230.  Name  =  TN.201.Read Packet
  1231.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.201.Read Packet
  1232.  Size:  3K         Date: 2/15/91         Version: 
  1233.  Description:
  1234.  TN.201.Read Packet - This technical note clears up some confusion 
  1235. concerning the low-level function ReadPacket. This function is called by 
  1236. protocol handlers and socket listeners.
  1237.  
  1238.  Name  =  TN.200.MPW 2.0.2 Bugs
  1239.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.200.MPW 2.0.2 Bugs
  1240.  Size: 27K         Date: 2/15/91         Version: 
  1241.  Description:
  1242.  TN.200.MPW 2.0.2 Bugs - This Technical Note describes latest information 
  1243. about bugs or unexpected “features” in the MPW C, Pascal, and Assembler 
  1244. products and the Toolbox and OS Interface Libraries.  We intend this Note 
  1245. to be a complete list of all known bugs in these products, which will be 
  1246. updated as old bugs are fixed, or new ones appear.  If you have encountered
  1247. a bug or unexpected feature which is not described here, be sure to let us 
  1248. know.  Specific code examples are useful.
  1249.  
  1250.  Name  =  TN.199.KillNBP
  1251.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.199.KillNBP
  1252.  Size:  4K         Date: 2/15/91         Version: 
  1253.  Description:
  1254.  TN.199.KillNBP - This technical note clears up some confusion regarding the
  1255. Name Binding Protocol KillNBP function. The description of the PKillNBP 
  1256. function on page 519 of Inside Macintosh Volume V is somewhat confusing. 
  1257. The data type of the parameter thePBptr is incorrectly given as ATPPBPtr 
  1258. and the pointer to the queue element from the NBP call to be aborted is 
  1259. incorrectly given as being passed in aKillQEl. The following is a correct 
  1260. description of the KillNBP function:
  1261.  
  1262.  Name  =  TN.198.NFNTs
  1263.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.198.NFNTs
  1264.  Size: 11K         Date: 2/15/91         Version: 
  1265.  Description:
  1266.  TN.198.NFNTs - Font/DA Mover version 3.8 (shipped with System 6.0) 
  1267. incorporates support for 'NFNT' resources and styled font family members. 
  1268. This note discusses several issues concerning the arrangement of 
  1269. font-related resources and their IDs. It also documents the proper 
  1270. arrangement of font resources within the font files that Font/DA Mover 
  1271. uses.
  1272.  
  1273.  Name  =  TN.197.Chooser PACK
  1274.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.197.Chooser PACK
  1275.  Size: 11K         Date: 2/15/91         Version: 
  1276.  Description:
  1277.  TN.197.Chooser PACK - Beginning with version 3.2, the Chooser has been 
  1278. enhanced to provide support for additional controls. As stated in Inside 
  1279. Macintosh IV-217, the Chooser communicates with device packages as if they 
  1280. were the following function:
  1281.  
  1282.  Name  =  TN.196.CDEF Params and Bugs
  1283.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.196.CDEF Params and Bugs
  1284.  Size:  4K         Date: 2/15/91         Version: 
  1285.  Description:
  1286.  TN.196.CDEF Params and Bugs - This Technical Note describes known bugs in 
  1287. the Control Manager which affect control definition functions ('CDEF' 
  1288. resources). Changes since August 1988:  Updated to reflect known bugs in 
  1289. the posCntl and thumbCntl messages and the Control Manager _TrackControl 
  1290. call.
  1291.  
  1292.  Name  =  TN.195.ASP & AFP
  1293.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.195.ASP & AFP
  1294.  Size:  4K         Date: 2/15/91         Version: 
  1295.  Description:
  1296.  TN.195.ASP & AFP - The descriptions of the AppleTalk Session Protocol and 
  1297. AppleTalk Filing Protocol functions within the body of the AppleTalk 
  1298. Manager chapter are incorrect and conflict with those in the Summary of the
  1299. AppleTalk Manager. This technical note resolves the discrepancy.
  1300.  
  1301.  Name  =  TN.194.WMgrPortability
  1302.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.194.WMgrPortability
  1303.  Size:  7K         Date: 2/15/91         Version: 
  1304.  Description:
  1305.  TN.194.WMgrPortability - Where WMgrPort (the Window Manager’s port), 
  1306. MultiFinder, and drawing outside of one’s windows will be reconciled. 
  1307. Beware - Drawing outside of windows from within an application is 
  1308. guaranteed to make that application less compatible with future systems. In
  1309. order to be as MultiFinder compatible as possible, draw only in response to
  1310. an update event or as part of the feedback for a user action, i.e. while 
  1311. tracking the mouse. MultiFinder compatibility is just as important as HFS 
  1312. compatibility!
  1313.  
  1314.  Name  =  TN.193.So Many Bitmaps…
  1315.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.193.So Many Bitmaps…
  1316.  Size:  6K         Date: 2/15/91         Version: 
  1317.  Description:
  1318.  TN.193.So Many Bitmaps… - This Technical Note discusses the routine 
  1319. BitMapToRegion, which converts a bitmap to a region, and is available in 
  1320. the 32-Bit QuickDraw INIT and from Apple Software Licensing.
  1321. Changes since October 1989:  Added trap definitions for developers using 
  1322. the 32-Bit QuickDraw version of this routine without the correct MPW 
  1323. include file.
  1324.  
  1325.  Name  =  TN.192.Surprises in LW 5.0
  1326.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.192.Surprises in LW 5.0
  1327.  Size: 10K         Date: 2/15/91         Version: 
  1328.  Description:
  1329.  TN.192.Surprises in LW 5.0 - This Technical Note describes some changes in 
  1330. version 5.0 and later LaserWriter drivers. Changes since April 1988 - 
  1331. Described a bug in 5.x which is fixed in 6.0 and later, and reiterated a 
  1332. warning about storing fonts in an application. With the release of 
  1333. LaserWriter 5.0 and background printing, a few changes had to be made to 
  1334. the LaserWriter driver.  Although these changes were transparent to most 
  1335. applications, some have had problems.  Most of these problems are related 
  1336. to use of unsupported features.  This Note details a partial list of the 
  1337. changes.
  1338.  
  1339.  Name  =  TN.191.Font Names
  1340.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.191.Font Names
  1341.  Size:  9K         Date: 2/15/91         Version: 
  1342.  Description:
  1343.  TN.191.Font Names - This note recommends the use of font names rather than 
  1344. font numbers. The Font Manager chapter of Inside Macintosh Volume IV claims
  1345. that font family numbers 0 through 127 are reserved for use by Apple, and 
  1346. numbers 128 through 255 are assigned by Apple for fonts created by software
  1347. developers. This is no longer true. Developer Technical Support does not 
  1348. assign font family numbers. You should only use font numbers to reference 
  1349. the system font (font 0) and application default font (font 1). All other 
  1350. fonts should be identified by name. The Font/DA Mover will renumber a font 
  1351. when moving it into a file containing a conflicting font family.
  1352.  
  1353.  Name  =  TN.190.WDs & MultiFinder
  1354.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.190.WDs & MultiFinder
  1355.  Size:  4K         Date: 2/15/91         Version: 
  1356.  Description:
  1357.  TN.190.WDs & MultiFinder - This technical note describes the way that 
  1358. working directories are handled under MultiFinder. Some versions of 
  1359. Technical Note #77 claim that you can open working directories with a 
  1360. unique ioWDProcID and that they will only be deallocated when “the system 
  1361. is rebooted.”
  1362.  
  1363.  Name  =  TN.189.Version Territory
  1364.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.189.Version Territory
  1365.  Size: 13K         Date: 2/15/91         Version: 
  1366.  Description:
  1367.  TN.189.Version Territory - This Technical Note describes the 'vers' 
  1368. resource supported by Finder 6.1 and later. Changes since October 1988: 
  1369. Changed MPW C code to reflect the changes in MPW C 3.1. Finder 6.1 
  1370. introduced a feature which allows the creator of a file to identify the 
  1371. version of that file as well as the version of a set of files which 
  1372. includes that file.  These version numbers are stored in 'vers' resources, 
  1373. and each contains a BCD form of the version number and a longer version 
  1374. message (which the Finder displays in the Get Info window for each file).
  1375.  
  1376.  Name  =  TN.188.ChangedResource
  1377.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.188.ChangedResource
  1378.  Size:  4K         Date: 2/15/91         Version: 
  1379.  Description:
  1380.  TN.188.ChangedResource - The toolbox trap ChangedResource is used to inform
  1381. the Resource Manager that the contents of a resource have changed and 
  1382. should be written to disk. The actual write occurs on the next call to 
  1383. WriteResource (for the specific resource) or UpdateResFile (for the 
  1384. resource file containing the specified resource). When called, 
  1385. ChangedResource reserves enough disk space to contain the changed resource.
  1386. A little-known “feature” of ChangedResource is that it reserves disk space 
  1387. every time it is called.
  1388.  
  1389.  Name  =  TN.187.ioPosOffset
  1390.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.187.ioPosOffset
  1391.  Size:  3K         Date: 2/15/91         Version: 
  1392.  Description:
  1393.  TN.187.ioPosOffset - The Device Manager chapter of Inside Macintosh Volume 
  1394. II says that ioPosOffset is passed to and returned by Read and Write calls.
  1395. It also says that “After the read [or write] is completed, the position is 
  1396. returned in ioPosOffset…” Actually, ioPosOffset is not changed by either 
  1397. call. Also note that device drivers should only look at the dCtlPosition 
  1398. field of the DCE, and should not look directly at the ioPosOffset field of 
  1399. the parameter block. The Device Manager sets up dCtlPosition for the 
  1400. driver, taking into account both the ioPosMode and the ioPosOffset.
  1401.  
  1402.  Name  =  TN.185.OpenRFPerm
  1403.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.185.OpenRFPerm
  1404.  Size:  4K         Date: 2/15/91         Version: 
  1405.  Description:
  1406.  TN.185.OpenRFPerm - This note corrects an error in the description of the 
  1407. Resource Manager routine OpenRFPerm found in Inside Macintosh Volume IV.
  1408.  
  1409.  Name  =  TN.184.Notification Manager
  1410.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.184.Notification Manager
  1411.  Size: 12K         Date: 2/15/91         Version: 
  1412.  Description:
  1413.  TN.184.Notification Manager - This Technical Note describes the 
  1414. Notification Manager, the part of the operating system that lets an 
  1415. application, desk accessory, or driver alert the user. Changes since 
  1416. October 1989:  Clarified the section on error handling for calls to 
  1417. _NMInstall.
  1418.  
  1419.  Name  =  TN.183.Position ind PS
  1420.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.183.Position ind PS
  1421.  Size:  7K         Date: 2/15/91         Version: 
  1422.  Description:
  1423.  TN.183.Position ind PS - This technical note describes a method for 
  1424. inserting position-independent PostScript into QuickDraw pictures. There is
  1425. a problem with pictures that contain PostScript code. Sometimes the 
  1426. PostScript code that is inserted into the picture is dependent on the 
  1427. position of the picture on the page. The problem arises when these pictures
  1428. are cut or copied from their original position, and pasted into another 
  1429. position or even into another document. The PostScript code will not know 
  1430. the new location of the picture, and will not execute correctly.
  1431.  
  1432.  Name  =  TN.182.WordBreak Tables
  1433.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.182.WordBreak Tables
  1434.  Size: 12K         Date: 2/15/91         Version: 
  1435.  Description:
  1436.  TN.182.WordBreak Tables - This technical note describes how to construct 
  1437. auxiliary break tables for use with the FindWord routine in the Script 
  1438. Manager. Constructing break tables - The FindWord algorithm finds word 
  1439. boundaries by determining where words should not be broken. For example, 
  1440. “re-do” is one word: it should not be broken at the hyphen. In other words,
  1441. a sequence of the form: (letter, hyphen, letter) should not be broken 
  1442. between the first and second or second and third character.
  1443.  
  1444.  Name  =  TN.181.Picture Comments
  1445.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.181.Picture Comments
  1446.  Size:  4K         Date: 2/15/91         Version: 
  1447.  Description:
  1448.  TN.181.Picture Comments - Application-specific picture comment conflict and
  1449. registration is addressed, along with Developer Technical Support’s method 
  1450. for solving it. I will assume that the nature and usefulness of picture 
  1451. comments are already well known.
  1452.  
  1453.  Name  =  TN.180.MultiFinder Miscellanea
  1454.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.180.MultiFinder Miscellanea
  1455.  Size: 24K         Date: 2/15/91         Version: 
  1456.  Description:
  1457.  TN.180.MultiFinder Miscellanea - This Technical Note discusses MultiFinder 
  1458. issues of which programmers should be aware. Changes since June 1988: 
  1459. Updated and generalized sample code to reflect new MPW 3.0 calls in both C 
  1460. and Pascal for saving and restoring A5 for interrupt code that accesses 
  1461. application globals.  Removed text that can be found in Programmer’s Guide 
  1462. to MultiFinder, and added a note about _PostEvent.
  1463.  
  1464.  Name  =  TN.179.ioNamePtr
  1465.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.179.ioNamePtr
  1466.  Size:  3K         Date: 2/15/91         Version: 
  1467.  Description:
  1468.  TN.179.ioNamePtr - It is very important to set ioNamePtr when making PB 
  1469. calls, even if you don’t want  those calls to return a name.  Whenever 
  1470. Inside Macintosh indicates that ioNamePtr is either required for input or 
  1471. returns something, you must set ioNamePtr to either nil (if you aren’t 
  1472. using a name) or to point to storage for a Str255. If you don’t explicitly 
  1473. set ioNamePtr, strange and unusual crashes may occur, depending on the 
  1474. machine/configuration your code is run on.
  1475.  
  1476.  Name  =  TN.178.Sorting
  1477.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.178.Sorting
  1478.  Size: 17K         Date: 2/15/91         Version: 
  1479.  Description:
  1480.  TN.178.Sorting - This technical note describes how to modify the standard 
  1481. string comparison by constructing an itl2 resource. Developers may want to 
  1482. modify the standard string comparison if Apple’s comparison doesn’t meet 
  1483. their needs or if Apple has not written a string comparison routine for the
  1484. language that concerns them.
  1485.  
  1486.  Name  =  TN.177.WNE Bug/1.0
  1487.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.177.WNE Bug/1.0
  1488.  Size:  4K         Date: 2/15/91         Version: 
  1489.  Description:
  1490.  TN.177.WNE Bug/1.0 - This Technical Note discusses a bug in WaitNextEvent 
  1491. in MultiFinder 1.0. This bug only occurs when WaitNextEvent is called from 
  1492. the background. This bug will be fixed in the next release of MultiFinder. 
  1493. Change since 11/87: the bug will be fixed in Systems with versions greater 
  1494. than $04FF.
  1495.  
  1496.  Name  =  TN.176.Mac Memory Configuration
  1497.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.176.Mac Memory Configuration
  1498.  Size:117K         Date: 2/15/91         Version: 10-91
  1499.  Description:
  1500.  Tech Note 176 - This Technical Note describes the different possible memory
  1501. configurations of all models of the Macintosh family that use Single 
  1502. In-line Memory Modules (SIMMs) as well as the non-SIMM memory upgrade 
  1503. options of the Macintosh Portable and Macintosh Classic. (Special thanks to
  1504. Brian Howard for the Macintosh Plus and original SE drawings, and for the 
  1505. inspiration for the other drawings.)  This Note also describes the 
  1506. obstacles to using four megabit (Mbit) DRAM SIMMs in Apple’s Macintosh 
  1507. products to date. Added specifications for new CPUs and additional 4 Mbit 
  1508. DRAM information.
  1509.  
  1510.  Name  =  TN.175.SetLineWidth Revealed
  1511.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.175.SetLineWidth Revealed
  1512.  Size:  9K         Date: 2/15/91         Version: 
  1513.  Description:
  1514.  TN.175.SetLineWidth Revealed - This technical note describes the internal 
  1515. implementation, and correct method of using, the SetLineWidth Picture 
  1516. Comment. The SetLineWidth picture comment provides a way of accessing 
  1517. PostScript’s 'setlinewidth' operator.
  1518.  
  1519.  Name  =  TN.174.PrintAction
  1520.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.174.PrintAction
  1521.  Size:  7K         Date: 2/15/91         Version: 
  1522.  Description:
  1523.  TN.174.PrintAction - This technical note describes how Print Drivers can 
  1524. access the Script Manager Print Action routine to print unconventional 
  1525. text, such as Japanese or Arabic.
  1526.  
  1527.  Name  =  TN.173.PrGeneral Bug
  1528.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.173.PrGeneral Bug
  1529.  Size:  5K         Date: 2/15/91         Version: 
  1530.  Description:
  1531.  TN.173.PrGeneral Bug - This technical note documents a bug in the 
  1532. implementation of the PrGeneral procedure in the LaserWriter driver version
  1533. 4.0. The bug has to do with the format of the information returned by the 
  1534. GetRslData opcode. This technical note will also describe a workaround for 
  1535. the problem.
  1536.  
  1537.  Name  =  TN.172.Popup MDEF Message
  1538.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.172.Popup MDEF Message
  1539.  Size:  6K         Date: 2/15/91         Version: 
  1540.  Description:
  1541.  TN.172.Popup MDEF Message - In order to support popup menus, menu 
  1542. definition procedures (MDEFs) must now respond to a new message, mPopupMsg.
  1543. mPopupMsg is message number 3. When your MDEF is called with this message, 
  1544. it should calculate the rectangle in which the popup menu should appear.
  1545.  
  1546.  Name  =  TN.171._PackBits
  1547.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.171._PackBits
  1548.  Size:  6K         Date: 2/15/91         Version: 
  1549.  Description:
  1550.  TN.171 - This Technical Note describes the format of data packed by the 
  1551. Toolbox utility _PackBits and documents a change to the srcBytes limit and 
  1552. possible worst case.
  1553.  
  1554.  Name  =  TN.167.AS Foreground
  1555.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.167.AS Foreground
  1556.  Size:  4K         Date: 2/15/91         Version: 
  1557.  Description:
  1558.  TN.167.AS Foreground - This technical note outlines the requirements and 
  1559. restrictions of an AppleShare foreground application. This information 
  1560. pertains to AppleShare versions 1.1 and newer. An AppleShare server 
  1561. requires a dedicated Macintosh. The server, however, is implemented as an 
  1562. interrupt-driven application that runs in the system heap of the server 
  1563. machine.
  1564.  
  1565.  Name  =  TN.166.C Glue
  1566.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.166.C Glue
  1567.  Size:  5K         Date: 2/15/91         Version: 
  1568.  Description:
  1569.  TN. 166.C Glue - MPW 2.0 includes new C interfaces to ROM routines which no
  1570. longer do string and point conversions. These new interfaces are described 
  1571. here. In MPW prior to 2.0, the C interfaces to Macintosh OS and Toolbox 
  1572. routines that had strings or points as arguments required following these 
  1573. rules 1. Strings must be passed as C strings (null terminated). 2. Points 
  1574. must be passed by address.
  1575.  
  1576.  Name  =  TN.165.AS Drop Folder
  1577.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.165.AS Drop Folder
  1578.  Size:  4K         Date: 2/15/91         Version: 
  1579.  Description:
  1580.  TN.165.AS Drop Folder - This technical note outlines the steps an 
  1581. application must take to create files inside AppleShare drop folders. The 
  1582. AppleShare File Server allows the creation of drop folders. These are 
  1583. folders for which the user has the Make Changes privilege (write access), 
  1584. but not See Files (read access) or See Folders (search access). For an 
  1585. application to create a file in such a folder, the following procedure must
  1586. be executed in strict order:
  1587.  
  1588.  Name  =  TN.164.MPW C Functions
  1589.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.164.MPW C Functions
  1590.  Size:  4K         Date: 2/15/91         Version: 
  1591.  Description:
  1592.  TN.164.MPW C Functions - Here’s the low-down on when C functions need not 
  1593. be declared in include files. “The include files are all screwed up!” 
  1594. This is a common misconception people have when they look through the MPW C
  1595. include files.  People report that the declaration of a ROM or system call 
  1596. foo() has been mistakenly left out of this or that include file.  Here’s 
  1597. the low-down on when functions do not have to be declared in an include 
  1598. file.
  1599.  
  1600.  Name  =  TN.163.Colorizing CopyBits
  1601.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.163.Colorizing CopyBits
  1602.  Size:  7K         Date: 2/15/91         Version: 
  1603.  Description:
  1604.  TN.163.Colorizing CopyBits - Inside Macintosh Volume V states that the 
  1605. foreground and background colors are applied to an image during a CopyBits 
  1606. or CopyMask call. Accidental use of this feature can create bizarre 
  1607. coloring effects. This note explains what happens, how to avoid problems, 
  1608. and how to use it.
  1609.  
  1610.  Name  =  TN.162.MPW 2.0 Pascal Bug
  1611.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.162.MPW 2.0 Pascal Bug
  1612.  Size:  3K         Date: 2/15/91         Version: 
  1613.  Description:
  1614.  TN.162.MPW 2.0 Pascal Bug - This note formerly described a bug in the MPW 
  1615. 2.0 Pascal compiler. This bug has been fixed in MPW 2.0.2.
  1616.  
  1617.  Name  =  TN.161.Printing Loop That Cares
  1618.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.161.Printing Loop That Cares
  1619.  Size: 16K         Date: 2/15/91         Version: 
  1620.  Description:
  1621.  TN.161.Printing Loop That Cares - This Technical Note discusses opening and
  1622. closing the Printing Manager with calls to _PrOpen and _PrClose as well as 
  1623. how to handle errors at print time. Changes since October 1989:  Added the 
  1624. section on error checking, incorporating the error code descriptions 
  1625. formerly found in Technical Note #72, Optimizing For The 
  1626. LaserWriter—Techniques and an updated version of the information formerly 
  1627. found in Technical Note #118, How To Check and Handle Printing Errors.
  1628.  
  1629.  Name  =  TN.159.Hard Disk Hacking
  1630.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.159.Hard Disk Hacking
  1631.  Size:  4K         Date: 2/15/91         Version: 
  1632.  Description:
  1633.  TN.159.Hard Disk Hacking - For those of a technical bent with some extra 
  1634. time, you can build your own hard disk system from a cheap SCSI drive and a
  1635. driver that you write. This is not a project for those short on time, so 
  1636. beware.
  1637.  
  1638.  Name  =  TN.158.MultiFinder Questions
  1639.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.158.MultiFinder Questions
  1640.  Size: 12K         Date: 2/15/91         Version: 
  1641.  Description:
  1642.  TN.158.MultiFinder Questions - This technical note provides answers to some
  1643. of the more frequently asked questions about MultiFinder. The development 
  1644. name for MultiFinder was Juggler, so the term “juggle” is used in this 
  1645. technical note to denote a context switch.
  1646.  
  1647.  Name  =  TN.157.Problem with GetVInfo
  1648.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.157.Problem with GetVInfo
  1649.  Size:  7K         Date: 2/15/91         Version: 
  1650.  Description:
  1651.  TN.157.Problem with GetVInfo - The high-level call GetVInfo (and its 
  1652. low-level counterpart PBGetVInfo) may return inaccurate results for 
  1653. freeBytes when running HFS. The high-level File Manager call GetVInfo 
  1654. returns the number of free bytes on a volume as one of its parameters. 
  1655.  
  1656.  Name  =  TN.156.Identifying Features
  1657.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.156.Identifying Features
  1658.  Size:  8K         Date: 2/15/91         Version: 
  1659.  Description:
  1660.  TN.156.Identifying Features - This technical note explains how to check at 
  1661. run time to see if specific functionality, such as the “new” TextEdit, is 
  1662. present.
  1663.  
  1664.  Name  =  TN.155.Handles vs. Pointers
  1665.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.155.Handles vs. Pointers
  1666.  Size:  4K         Date: 2/15/91         Version: 
  1667.  Description:
  1668.  TN.155.Handles vs. Pointers - A handle is a handle and a pointer is a 
  1669. pointer. Applications should avoid embedding non-relocatable objects (that 
  1670. the system assumes will never move) in handles.
  1671.  
  1672.  Name  =  TN.154.Large PICT Files
  1673.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.154.Large PICT Files
  1674.  Size: 11K         Date: 2/15/91         Version: 
  1675.  Description:
  1676.  TN.154.Large PICT Files - Now that we have scanners and other 
  1677. massive-picture producing types of applications, there is a need to address
  1678. the problem of how to display a PICT format object that is bigger than a 
  1679. current PICT resource is allowed to be. Note that this technique applies 
  1680. equally well to version 1 and version 2 (word-opcode) pictures as produced 
  1681. by the Macintosh II.
  1682.  
  1683.  Name  =  TN.153.New IU
  1684.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.153.New IU
  1685.  Size:  7K         Date: 2/15/91         Version: 
  1686.  Description:
  1687.  TN.153.New IU - The International Utilities package and the international 
  1688. resources have been changed with System file 4.1 to take advantage of the 
  1689. Script Manager.
  1690.  
  1691.  Name  =  TN.152.Laser Prep Routines
  1692.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.152.Laser Prep Routines
  1693.  Size:  6K         Date: 2/15/91         Version: 
  1694.  Description:
  1695.  TN.152.Laser Prep Routines - This technical note addresses the issues 
  1696. involved in depending on the procedures and constants defined in the Laser 
  1697. Prep dictionary.
  1698.  
  1699.  Name  =  TN.151.System Error 33
  1700.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.151.System Error 33
  1701.  Size:  4K         Date: 2/15/91         Version: 
  1702.  Description:
  1703.  TN.151.System Error 33 - System 3.2 introduced a new system error, ID=33, 
  1704. generated by the Memory Manager when it notices that a heap had been 
  1705. corrupted in a certain way. This error is listed in the file “SysErr.a” as 
  1706. “negZcbFreeErr”.
  1707.  
  1708.  Name  =  TN.150.SE Disk Driver Bug
  1709.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.150.SE Disk Driver Bug
  1710.  Size:  3K         Date: 2/15/91         Version: 
  1711.  Description:
  1712.  TN.150.SE Disk Driver Bug - A bug in the Macintosh SE ROMs causes the top 
  1713. drive to be slower than the bottom one in two-drive machines. This bug is 
  1714. fixed in System 4.2 and newer.
  1715.  
  1716.  Name  =  TN.149.Document Names
  1717.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.149.Document Names
  1718.  Size:  4K         Date: 2/15/91         Version: 
  1719.  Description:
  1720.  TN.149.Document Names - Our compatibility testing for LaserShare (Apple’s 
  1721. LaserWriter spooler) has turned up a number of applications that do not 
  1722. provide the Printing Manager with a document name; although this feature is
  1723. not required, it is nice for users that share printers.
  1724.  
  1725.  Name  =  TN.148.Mac II Board Suppliers
  1726.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.148.Mac II Board Suppliers
  1727.  Size:  4K         Date: 2/15/91         Version: 
  1728.  Description:
  1729.  TN.148.Mac II Board Suppliers - This note lists suppliers of parts that may
  1730. be helpful for Macintosh II board developers. If your company supplies 
  1731. these parts, but is not listed here, please send a message to us (at the 
  1732. address on Technical Note #0) and we’ll include you in the next revision of
  1733. this technical note.
  1734.  
  1735.  Name  =  TN.147.Finder Notes
  1736.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.147.Finder Notes
  1737.  Size:  4K         Date: 2/15/91         Version: 
  1738.  Description:
  1739.  TN.147.Finder Notes - The Finder has undergone a couple of changes you 
  1740. should keep in mind when creating the “bundle” information for your 
  1741. application.
  1742.  
  1743.  Name  =  TN.146.MPW’s -mc68881 Option
  1744.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.146.MPW’s -mc68881 Option
  1745.  Size:  9K         Date: 2/15/91         Version: 
  1746.  Description:
  1747.  TN.146.MPW’s -mc68881 Option - This Technical Note discusses MPW’s -mc68881
  1748. option, which represents Extended values in 96 bits (instead of 80, as with
  1749. software SANE), and compatibility issues when using non-SANE system calls 
  1750. that expect 80-bit Extended values. Changes since March 1988:  Added a 
  1751. warning to explicitly check for the presence of an FPU if an application 
  1752. uses floating point instructions and removed a sentence which implied that 
  1753. all Macintosh II-class machines would have built-in FPUs.
  1754.  
  1755.  Name  =  TN.145.Debugger FKEY
  1756.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.145.Debugger FKEY
  1757.  Size:  4K         Date: 2/15/91         Version: 
  1758.  Description:
  1759.  TN.145.Debugger FKEY - This Technical Note formerly discussed showed how to
  1760. write an 'FKEY' to trap to the debugger. Changes since March 1988:  Merged 
  1761. the contents of this Note into Technical Note #256, Stand-Alone Code, ad 
  1762. nauseam. This Note formerly showed how to write an 'FKEY' resource to trap 
  1763. to the debugger.  This information is now an example of writing stand-alone
  1764. code resources in Technical Note #256, Stand-Alone Code, ad nauseam.
  1765.  
  1766.  Name  =  TN.143.Don’t Call ADBReInit
  1767.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.143.Don’t Call ADBReInit
  1768.  Size:  3K         Date: 2/15/91         Version: 
  1769.  Description:
  1770.  TN.143.Don’t Call ADBReInit - Because of a bug (which causes auto-repeat) 
  1771. in the ROM version of the Macintosh SE keyboard driver, a patch was placed 
  1772. in System 4.1. If ADBReInit is called, the ROM version of the keyboard 
  1773. driver will be reloaded, and the RAM version of the driver with the patches
  1774. will not be used. Therefore, it is recommended that ADBReInit not be called
  1775. on the Macintosh SE until the problem is fixed. (There is no need to call 
  1776. ADBReInit.) This problem will not occur with the Macintosh II ROM version 
  1777. of the keyboard driver.
  1778.  
  1779.  Name  =  TN.142.Network Events
  1780.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.142.Network Events
  1781.  Size:  5K         Date: 2/15/91         Version: 
  1782.  Description:
  1783.  TN.142.Network Events - Future System software enhancements will not 
  1784. support network events. This note gives hints on weaning your application 
  1785. from the use of network events.
  1786.  
  1787.  Name  =  TN.141.Number of Resources
  1788.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.141.Number of Resources
  1789.  Size:  4K         Date: 2/15/91         Version: 
  1790.  Description:
  1791.  TN.141.Number of Resources - This note describes the limitation of the 
  1792. number of resources in a single resource file. There is a limit to the 
  1793. number of the resources in a single resource file. This limitation is 
  1794. imposed by the resource map. There are two bytes at the end of the resource
  1795. map which are the offset from the beginning of the resource map to the 
  1796. beginning of the resource names list. 
  1797.  
  1798.  Name  =  TN.140.PBHSetVol
  1799.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.140.PBHSetVol
  1800.  Size:  4K         Date: 2/15/91         Version: 
  1801.  Description:
  1802.  TN.140.PBHSetVol - This note explains PBHSetVol, and why its use is not 
  1803. recommended. PBHSetVol, like SetVol and PBSetVol, allows you to set the 
  1804. current default volume and directory to be used with subsequent File 
  1805. Manager calls. Unlike SetVol and PBSetVol, though, PBHSetVol lets you 
  1806. specify the volume and the directory separately, using the ioVRefNum and 
  1807. ioWDDirID fields.
  1808.  
  1809.  Name  =  TN.139.Macintosh Plus ROMs
  1810.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.139.Macintosh Plus ROMs
  1811.  Size:  4K         Date: 2/15/91         Version: 
  1812.  Description:
  1813.  TN.139.Macintosh Plus ROMs - Readers Digest condensed version of Macintosh 
  1814. Plus ROM history, or the truth according to Bo3bdar the everpresent: 1st 
  1815. version (Lonely Hearts, checksum 4D 1E EE E1): Bug in the SCSI driver; 
  1816. won’t boot if external drive is turned off. We only produced about one and 
  1817. a half months worth of these. 2nd version (Lonely Heifers, checksum 4D 1E 
  1818. EA E1): Fixed boot bug. This version is the vast majority of beige 
  1819. Macintosh Pluses.
  1820.  
  1821.  Name  =  TN.138.KanjiTalk
  1822.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.138.KanjiTalk
  1823.  Size:  4K         Date: 2/15/91         Version: 
  1824.  Description:
  1825.  TN.138.KanjiTalk - This Technical Note describes the minor differences 
  1826. between using KanjiTalk with the Japanese Macintosh Plus and KanjiTalk with
  1827. a standard Macintosh Plus.
  1828.  
  1829.  Name  =  TN.137.AppleShare 1.1 Bug
  1830.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.137.AppleShare 1.1 Bug
  1831.  Size:  4K         Date: 2/15/91         Version: 
  1832.  Description:
  1833.  TN.137.AppleShare 1.1 Bug - A bug has been discovered in AppleShare 1.1’s 
  1834. implementation of the AppleTalk Filing Protocol FPMove call. This bug only 
  1835. affects developers implementing custom workstation access code that will 
  1836. access AppleShare 1.1 servers from non-Macintosh systems (such as MS-DOS 
  1837. systems); if the guidelines below are not followed, data loss may result.
  1838.  
  1839.  Name  =  TN.136.A5 & GrowZone
  1840.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.136.A5 & GrowZone
  1841.  Size:  4K         Date: 2/15/91         Version: 
  1842.  Description:
  1843.  TN.136.A5 & GrowZone - If you have a grow zone function, it may get called 
  1844. when a system routine is trying to allocate memory. Because this can 
  1845. happen, you can’t be guaranteed that register A5 will be correct. If your 
  1846. grow zone function depends on A5, you should save register A5, load A5 from
  1847. the low-memory global CurrentA5 (a long word at $904), and restore the 
  1848. caller’s A5 before you exit.
  1849.  
  1850.  Name  =  TN.135.Getting thru CUSToms
  1851.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.135.Getting thru CUSToms
  1852.  Size: 27K         Date: 2/15/91         Version: 
  1853.  Description:
  1854.  TN.135.Getting thru CUSToms - This technical note provides a way for 
  1855. developers to allow sophisticated users to add code to an off-the-shelf 
  1856. application.  Using this scheme, the user can easily install the code 
  1857. module; the application has to know how to call it and, optionally, be able
  1858. to respond to a set of predefined calls from the custom package. 
  1859.  
  1860.  Name  =  TN.134.Boot problems
  1861.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.134.Boot problems
  1862.  Size: 26K         Date: 2/15/91         Version: 
  1863.  Description:
  1864.  TN.134.Boot problems - The death of a hard disk with megabytes worth of 
  1865. data can be exceedingly traumatic. This technical note will describe 
  1866. techniques for recovering a hard disk and the data that is on it. The 
  1867. discussion will also include some tips on how to avoid problems.
  1868.  
  1869.  Name  =  TN.133.Is This a Spooler?
  1870.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.133.Is This a Spooler?
  1871.  Size:  4K         Date: 2/15/91         Version: 
  1872.  Description:
  1873.  TN.133.Is This a Spooler? - When the LaserShare spooler is on an AppleTalk 
  1874. network, it acts like a LaserWriter-type device, which can be chosen and 
  1875. communicated with much like a real LaserWriter. Some applications, however,
  1876. must communicate with a LaserWriter directly, not a spooler. If this is 
  1877. true for your application, you can check whether you are actually talking 
  1878. to a real LaserWriter by sending to the LaserWriter the following query:
  1879.  
  1880.  Name  =  TN.132.AppleTalk Interfaces
  1881.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.132.AppleTalk Interfaces
  1882.  Size:  6K         Date: 2/15/91         Version: 
  1883.  Description:
  1884.  TN.132.AppleTalk Interfaces - Technical Note #121 announced that we would 
  1885. be moving to a simplified AppleTalk Manager interface. That interface is 
  1886. available now, as part of MPW 2.0 and newer. Documentation for this new 
  1887. interface is contained in the AppleTalk Manager chapter of Inside Macintosh
  1888. Volume V. This technical note contains some of the preliminary 
  1889. documentation for this interface and some useful points about information 
  1890. about it, and AppleTalk in general.
  1891.  
  1892.  Name  =  TN.131.TextEdit Bugs in 4.2
  1893.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.131.TextEdit Bugs in 4.2
  1894.  Size:  6K         Date: 2/15/91         Version: 
  1895.  Description:
  1896.  TN.131.TextEdit Bugs in 4.2 - This note formerly described the known bugs 
  1897. with the version of Styled TextEdit that was provided with System 4.1. Many
  1898. of these bugs were fixed in System 4.2. This updated Technical Note 
  1899. describes the remaining known problems. TEStylInsert - Calling TEStylInsert
  1900. while the TextEdit record is deactivated causes unpredictable results, so 
  1901. make sure to only call TEStylInsert when the TextEdit record is active.
  1902.  
  1903.  Name  =  TN.130.ioCompletion
  1904.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.130.ioCompletion
  1905.  Size:  3K         Date: 2/15/91         Version: 
  1906.  Description:
  1907.  TN.130.ioCompletion - When making synchronous calls to the File Manager, it
  1908. is not necessary to clear ioCompletion field of the parameter block, since 
  1909. that is done for you. Some earlier technotes explicitly cleared 
  1910. ioCompletion, with the knowledge that this was unnecessary, to try to 
  1911. encourage developers to fill in all fields of parameter blocks as indicated
  1912. in Inside Macintosh.  By the way, this is true of all parameter calls—you 
  1913. only have to set fields that are explicitly required.
  1914.  
  1915.  Name  =  TN.129_Gestalt & _SysEnviron
  1916.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.129_Gestalt & _SysEnviron
  1917.  Size:  7K         Date: 2/15/91         Version: 
  1918.  Description:
  1919.  Tech Note 129, _Gestalt & _SysEnvir Copyright(C)1990 Apple Computer. This 
  1920. Technical Note discusses latest changes and enhancements in the _Gestalt 
  1921. and _SysEnvirons calls. Removed _Gestalt constants now documented in Inside
  1922. Macintosh Volume VI.  Added new machine and keyboard constants for _Gestalt
  1923. and _SysEnvirons which are not covered in Inside Macintosh. Oct'91.
  1924.  
  1925.  Name  =  TN.128.PrGeneral
  1926.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.128.PrGeneral
  1927.  Size: 15K         Date: 2/15/91         Version: 
  1928.  Description:
  1929.  TN.128.PrGeneral - The Printing Manager architecture has been expanded to 
  1930. include a new procedure called PrGeneral. The features described here are 
  1931. advanced, special-purpose features, intended to solve specific problems for
  1932. those applications that need them. The calls to determine printer 
  1933. resolution introduce a good deal of complexity into the application’s code,
  1934. and should be used only when necessary.
  1935.  
  1936.  Name  =  TN.127.TextEdit EOL
  1937.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.127.TextEdit EOL
  1938.  Size:  4K         Date: 2/15/91         Version: 
  1939.  Description:
  1940.  TN.127.TextEdit EOL - TESetSelect may be used to position the insertion 
  1941. point at the end of a line. There is an ambiguity, though; should the 
  1942. insertion point appear at the end of the preceding line or the start of the
  1943. following one? It is possible to determine what will happen, as you are 
  1944. about to see.
  1945.  
  1946.  Name  =  TN.126.Sub(Launching) H-L Lang
  1947.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.126.Sub(Launching) H-L Lang
  1948.  Size: 14K         Date: 2/15/91         Version: 
  1949.  Description:
  1950.  TN.126.Sub(Launching) H-L Lang - Note: Developer Technical Support takes 
  1951. the view that launching and sublaunching are features which are best 
  1952. avoided for compatibility (and other) reasons, but we want to make sure 
  1953. that when it is absolutely necessary to implement it, it is done in the 
  1954. safest possible way. This Technical Note discusses the “safest” method of 
  1955. calling _Launch from a high-level language that supports inline assembly 
  1956. language with the option of launching or sublaunching another application.
  1957.  
  1958.  Name  =  TN.125.Spool/Print Shared
  1959.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.125.Spool/Print Shared
  1960.  Size:  4K         Date: 2/15/91         Version: 
  1961.  Description:
  1962.  TN.125.Spool/Print Shared - This technical note discusses drawbacks of 
  1963. using the spool-a-page/ print-a-page method of printing. The 
  1964. “spool-a-page/print-a-page” method of printing prints each page of a 
  1965. document as a separate job instead of calling PrPicFile to print the entire
  1966. picture file. Many applications adopted this method of printing to avoid 
  1967. running out of disk space while the ImageWriter driver was spooling the 
  1968. document to disk.
  1969.  
  1970.  Name  =  TN.124.Low-Level Printing
  1971.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.124.Low-Level Printing
  1972.  Size:  3K         Date: 2/15/91         Version: 
  1973.  Description:
  1974.  TN.124.Low-Level Printing - When you use the low-level printer driver to 
  1975. print, you don’t get the benefits of the error checking that is done when 
  1976. you use the high-level Printing Manager. So, if the user prints to an 
  1977. AppleTalk ImageWriter (including an AppleTalk ImageWriter LQ) that is busy 
  1978. printing another job, the driver doesn’t know whether the printer is busy, 
  1979. offline, or disconnected.  Because of this, PrError will return (and 
  1980. PrintErr will contain) abortErr.
  1981.  
  1982.  Name  =  TN.123.LaserWriter ROM Bugs
  1983.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.123.LaserWriter ROM Bugs
  1984.  Size:  5K         Date: 2/15/91         Version: 
  1985.  Description:
  1986.  TN.123.LaserWriter ROM Bugs - These are LaserWriter bugs that your users 
  1987. may encounter when printing from any Macintosh application. These are for 
  1988. your information; you cannot code around them. The bugs described here 
  1989. occur in the 1.0 and 2.0 LaserWriter ROMs.
  1990.  
  1991.  Name  =  TN.122.Dev.-Ind. Printing
  1992.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.122.Dev.-Ind. Printing
  1993.  Size:  4K         Date: 2/15/91         Version: 
  1994.  Description:
  1995.  TN.122.Dev.-Ind. Printing - The Printing Manager was designed to give 
  1996. Macintosh applications a device- independent method of printing, but we 
  1997. have provided device-dependent information, such as the contents of the 
  1998. print record. Due to the large number of printer-type drivers becoming 
  1999. available (even for non-printer devices) device independence is more 
  2000. necessary than ever. What this means to you, as a developer, is that we 
  2001. will no longer be providing (or supporting) information regarding the 
  2002. internal structure of the print record. 
  2003.  
  2004.  Name  =  TN.121.AppleTalk Interfaces
  2005.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.121.AppleTalk Interfaces
  2006.  Size:  4K         Date: 2/15/91         Version: 
  2007.  Description:
  2008.  TN.121.AppleTalk Interfaces - What you need to do in order to use 
  2009. high-level AppleTalk routines depends upon the interfaces you are using. 
  2010. Some differences are outlined below.
  2011.  
  2012.  Name  =  TN.120_Principia Off-Scrn..
  2013.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.120_Principia Off-Scrn..
  2014.  Size: 56K         Date: 2/15/91         Version: 
  2015.  Description:
  2016.  TN.120.Off-Screen Pixel Map - Using Color QuickDraw to draw off-screen is a
  2017. common requirement of applications and other kinds of programs that run on 
  2018. the Macintosh. This Note discusses what Color QuickDraw needs in a graphics
  2019. environment and how to create one for off-screen drawing. A brief 
  2020. discussion of GWorlds, which are off-screen graphics environments that are 
  2021. set up by the system, is given in terms of deciding whether to use them or 
  2022. the do-it-yourself techniques described in this Note for setting up an 
  2023. off-screen graphics environment. 10-91.
  2024.  
  2025.  Name  =  TN.119.Color QuickDraw?
  2026.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.119.Color QuickDraw?
  2027.  Size:  3K         Date: 2/15/91         Version: 
  2028.  Description:
  2029.  TN.119.Color QuickDraw? - This note formely described a way to determine if
  2030. Color QuickDraw is present on a particular machine. We now recommend that 
  2031. you call SysEnvirons to find out, as described in Technical Note #129.
  2032.  
  2033.  Name  =  TN.118.Printing Errors
  2034.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.118.Printing Errors
  2035.  Size:  3K         Date: 2/15/91         Version: 
  2036.  Description:
  2037.  TN.118.Printing Errors - This Technical Note formerly described how to 
  2038. check and properly handle errors that occur during printing with the 
  2039. Printing Manager. Changes since March 1988:  Merged contents into Technical
  2040. Note #161. This Note formerly described how to check and properly handle 
  2041. Printing Manager errors.  This information is now contained in Technical 
  2042. Note #161, A Printing Loop That Cares…, which also includes a table of 
  2043. Printing Manager error codes.
  2044.  
  2045.  Name  =  TN.117.Compatibility
  2046.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.117.Compatibility
  2047.  Size: 48K         Date: 2/15/91         Version: 
  2048.  Description:
  2049.  TN.117.Compatibility - While creating or revising any program for the 
  2050. Macintosh, you should be aware of the most common reasons why programs fail
  2051. on various versions of the Macintosh. This note will detail some common 
  2052. failure modes, why they occur, and how to avoid them.
  2053.  
  2054.  Name  =  TN.116.SharingApps
  2055.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.116.SharingApps
  2056.  Size:  7K         Date: 2/15/91         Version: 
  2057.  Description:
  2058.  TN.116.SharingApps - Normally, applications on an AppleShare server volume 
  2059. cannot be executed by more than one user at a time. This technical note 
  2060. explains why, and tells how you can enable your application to be shared.
  2061.  
  2062.  Name  =  TN.115.Stationery
  2063.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.115.Stationery
  2064.  Size:  6K         Date: 2/15/91         Version: 
  2065.  Description:
  2066.  TN.115.Stationery - With the introduction of AppleShare (Apple’s file 
  2067. server) there are restrictions on self-modification of application resource
  2068. files and the placement of configuration files. This note describes one way
  2069. to get around the necessity for configuration files.
  2070.  
  2071.  Name  =  TN.114.AppleShare/Old Finder
  2072.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.114.AppleShare/Old Finder
  2073.  Size:  3K         Date: 2/15/91         Version: 
  2074.  Description:
  2075.  TN.114.AppleShare/Old Finder - A rumor has been spread that if you use a 
  2076. pre-AppleShare Finder on a workstation to access AppleShare volumes, you 
  2077. can bypass AppleShare’s “access privilege” mechanisms.
  2078.  
  2079.  Name  =  TN.113.Boot Blocks
  2080.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.113.Boot Blocks
  2081.  Size:  4K         Date: 2/15/91         Version: 
  2082.  Description:
  2083.  TN.113.Boot Blocks - There are two undocumented features of the Boot 
  2084. Blocks. This note will describe how they currently work. Warning: The 
  2085. format and functionality of the Boot Blocks will change in the future; 
  2086. dependence on this information may cause your program to fail on future 
  2087. hardware or with future System software.
  2088.  
  2089.  Name  =  TN.112.FindDItem
  2090.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.112.FindDItem
  2091.  Size:  3K         Date: 2/15/91         Version: 
  2092.  Description:
  2093.  TN.112.FindDItem - FindDItem is a potentially useful call which returns the
  2094. number of a dialog item given a point in local coordinates and a dialog 
  2095. handle. It returns an item number of –1 if no item’s rectangle overlaps the
  2096. point. This is all well and good, except you don’t get back quite what you 
  2097. would expect.
  2098.  
  2099.  Name  =  TN.111.MoveHHi/SetResPurge
  2100.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.111.MoveHHi/SetResPurge
  2101.  Size:  3K         Date: 2/15/91         Version: 
  2102.  Description:
  2103.  TN.111.MoveHHi/SetResPurge - SetResPurge(TRUE) is called to make the Memory
  2104. Manager call the Resource Manager before purging a block specified by a 
  2105. handle. If the handle is a handle to a resource, and its resChanged bit is 
  2106. set, the resource data will be written out (using WriteResource).
  2107.  
  2108.  Name  =  TN.110.MPW Stand-Alone Code
  2109.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.110.MPW Stand-Alone Code
  2110.  Size:  4K         Date: 2/15/91         Version: 
  2111.  Description:
  2112.  TN.110.MPW Stand-Alone Code - This Technical Note formerly discussed using 
  2113. MPW Pascal and C to write stand-alone code, such as 'WDEF', 'LDEF', 'INIT',
  2114. and 'FKEY' resources. Changes since February 1990:  Merged the contents of 
  2115. this Note into Technical Note #256, Stand-Alone Code, ad nauseam.This Note 
  2116. formerly discussed using MPW Pascal and C to write stand-alone code.  This 
  2117. information has been expanded and is now contained in Technical Note #256, 
  2118. Stand-Alone Code, ad nauseam.
  2119.  
  2120.  Name  =  TN.109.Bug in MPW 1.0
  2121.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.109.Bug in MPW 1.0
  2122.  Size:  3K         Date: 2/15/91         Version: 
  2123.  Description:
  2124.  TN.109.Bug in MPW 1.0 - This note formerly described a problem in the 
  2125. language libraries for MPW 1.0. This bug is fixed in MPW 1.0.2, available 
  2126. from APDA.
  2127.  
  2128.  Name  =  TN.108.AddDrive DrvrInstall and
  2129.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.108.AddDrive DrvrInstall and
  2130.  Size:  6K         Date: 2/15/91         Version: 
  2131.  Description:
  2132.  TN.108.AddDrive DrvrInstall and - AddDrive, _DrvrInstall, and _DrvrRemove 
  2133. are used in the sample SCSI driver in the SCSI Development Package, which 
  2134. is available from APDA.  This Technical Note documents the parameters for 
  2135. these calls. Changes since March 1, 1988:  Updated the _DrvrInstall text to
  2136. reflect the use of register A0, which should contain a pointer to the 
  2137. driver when called.  Also added simple glue code for _DrvrInstall and 
  2138. _DrvrRemove since none is available in the MPW interfaces.
  2139.  
  2140.  Name  =  TN.107.Nulls in Filenames
  2141.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.107.Nulls in Filenames
  2142.  Size:  4K         Date: 2/15/91         Version: 
  2143.  Description:
  2144.  TN.107.Nulls in Filenames - Some applications (loosely speaking so as to 
  2145. include Desk Accessories, INITs, and what-have-you) generate or rename 
  2146. special files on the fly so that they are not explicitly named by the user 
  2147. via SFPutFile. Since the Macintosh file system is very liberal about 
  2148. filenames and only excludes colons from the list of acceptable characters, 
  2149. this can lead to some difficulties, both for the end user and for writers 
  2150. of other programs which may see these files.
  2151.  
  2152.  Name  =  TN.106.VCBs and Drive #s
  2153.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.106.VCBs and Drive #s
  2154.  Size:  4K         Date: 2/15/91         Version: 
  2155.  Description:
  2156.  TN.106.VCBs and Drive #s - The top of page IV-178 in The File Manager 
  2157. chapter of Inside Macintosh in attempts to explain the behavior of two 
  2158. fields in a volume control block when the corresponding disk is offline or 
  2159. ejected. Due to the fact that a little bit is left unsaid, this paragraph 
  2160. is rather misleading. The two fields in question are vcbDrvNum and 
  2161. vcbDRefNum (referred to as ioVDrvInfo and ioVDRefNum in C and Pascal). 
  2162. PBHGetVInfo can be used to access these fields.
  2163.  
  2164.  Name  =  TN.105.Object Pascal
  2165.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.105.Object Pascal
  2166.  Size:  4K         Date: 2/15/91         Version: 
  2167.  Description:
  2168.  TN.105.Object Pascal - Object Pascal must have a CODE segment named 
  2169. %_MethTables in order to access object methods. In MacApp this is taken 
  2170. care of “behind the scenes” so you don’t have to worry about it . However, 
  2171. if you are doing a straight Object Pascal program, you must make sure that 
  2172. %_MethTables is around when you need it. If it’s unloaded when you call a 
  2173. method, your Macintosh will begin executing wild noncode and die a gruesome
  2174. and horrible death.
  2175.  
  2176.  Name  =  TN.104.Globals from Asm
  2177.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.104.Globals from Asm
  2178.  Size:  7K         Date: 2/15/91         Version: 
  2179.  Description:
  2180.  TN.104.Globals from Asm - This technical note demonstrates how to access 
  2181. MPW Pascal and MPW C globals from the MPW Assembler. To allow access of MPW
  2182. Pascal globals from the MPW Assembler, you need to identify the variables 
  2183. that you wish to access as external.  To do this, use the {$Z+} compiler 
  2184. option.  Using the {$Z+} option can substantially increase the size of the 
  2185. object file due to the additional symbol information (no additional code is
  2186. generated and the symbol information is stripped by the linker). 
  2187.  
  2188.  Name  =  TN.103.128K ROM/Asm
  2189.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.103.128K ROM/Asm
  2190.  Size:  5K         Date: 2/15/91         Version: 
  2191.  Description:
  2192.  TN.103.128K ROM/Asm - When calling MaxApplZone and MoveHHi from assembly 
  2193. language, be sure to get the correct code. MaxApplZone and MoveHHi were 
  2194. marked [Not in ROM] in Inside Macintosh, Volumes I-III . They are ROM calls
  2195. in the 128K ROM. Since they are not in the 64K ROM, if you want your 
  2196. program to work on 64K ROM routines it is necessary to call the routines by
  2197. a JSR to a glue (library) routine instead of using the actual trap macro.
  2198.  
  2199.  Name  =  TN.102.HFS Elucidations
  2200.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.102.HFS Elucidations
  2201.  Size: 13K         Date: 2/15/91         Version: 
  2202.  Description:
  2203.  TN.102.HFS Elucidations - This technical note will describe a few problems 
  2204. that can occur while using HFS. It will also describe ways to avoid these 
  2205. problems. This technical note will discuss the following problems. 1) It is
  2206. very important to be careful about how files are opened and closed. There 
  2207. must be no more than one close for every open. 2) Don’t use Driver names, 
  2208. like .Bout, .Print or .Sony, in place of file names or the file system will
  2209. become confused. 3) Be aware of the ioFlVersNum byte in all file calls. A 
  2210. number of pieces of the Macintosh system do not use, and may in fact 
  2211. ignore, files created with non-zero ioFlVersNums.
  2212.  
  2213.  Name  =  TN.101.CreateResFile & PMSP
  2214.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.101.CreateResFile & PMSP
  2215.  Size:  8K         Date: 2/15/91         Version: 
  2216.  Description:
  2217.  TN.101.CreateResFile & PMSP - CreateResFile checks to see if a resource 
  2218. file with a given name exists, and if it does, returns a dupFNErr (–48) 
  2219. error. Unfortunately, to do this check, CreateResFile uses a call that 
  2220. follows the Poor Man’s Search Path (PMSP).
  2221.  
  2222.  Name  =  TN.100.Large Screen Displays
  2223.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.100.Large Screen Displays
  2224.  Size:  4K         Date: 2/15/91         Version: 
  2225.  Description:
  2226.  TN.100.Large Screen Displays - A number of third-party developers have 
  2227. announced large-screen display peripherals for Macintosh. One of them, 
  2228. Radius Inc., has issued a set of guidelines for developers who wish to 
  2229. remain compatible with their Radius FPD; unfortunately, one of their 
  2230. recommendations can cause system crashes. This note suggests a more correct
  2231. approach.
  2232.  
  2233.  Name  =  TN.099.SF Bug in System 3.2
  2234.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.099.SF Bug in System 3.2
  2235.  Size:  3K         Date: 2/15/91         Version: 
  2236.  Description:
  2237.  TN.099.SF Bug in System 3.2 - This note formerly described a bug in 
  2238. Standard File in System 3.2. This bug has been fixed in more recent 
  2239. Systems.
  2240.  
  2241.  Name  =  TN.098.Short-Circuit Booleans
  2242.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.098.Short-Circuit Booleans
  2243.  Size:  3K         Date: 2/15/91         Version: 
  2244.  Description:
  2245.  TN.098.Short-Circuit Booleans - This note formerly described problems with 
  2246. the Lisa Pascal compiler. These problems have been fixed in the MPW Pascal 
  2247. compiler.
  2248.  
  2249.  Name  =  TN.097.PrSetError Problem
  2250.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.097.PrSetError Problem
  2251.  Size:  3K         Date: 2/15/91         Version: 
  2252.  Description:
  2253.  TN.097.PrSetError Problem - This note formerly described a problem in Lisa 
  2254. Pascal glue for the PrSetError routine. The glue in MPW (and most, if not 
  2255. all, third party compilers) does not have this problem.
  2256.  
  2257.  Name  =  TN.096.SCSI Bugs
  2258.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.096.SCSI Bugs
  2259.  Size: 14K         Date: 2/15/91         Version: 
  2260.  Description:
  2261.  TN.096.SCSI Bugs - There are a number of problems in the SCSI Manager; this
  2262. note lists the ones we know about, along with an explanation of what we’re 
  2263. doing about them. Changes made for the 2/88 release are made to more 
  2264. accurately reflect the state of the SCSI Manager. System 4.1 and 4.2 are 
  2265. very similar; one bug was fixed in System 4.2.
  2266.  
  2267.  Name  =  TN.095.Print Dialogs
  2268.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.095.Print Dialogs
  2269.  Size: 27K         Date: 2/15/91         Version: 
  2270.  Description:
  2271.  TN.095.Print Dialogs - This technical note discusses how to add your own 
  2272. items to the Printing Manager’s dialogs. When the Printing Manager was 
  2273. initially designed, great care was taken to make the interface to the 
  2274. printer drivers as generic as possible in order to allow applications to 
  2275. print without being device-specific.
  2276.  
  2277.  Name  =  TN.094.Tags
  2278.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.094.Tags
  2279.  Size:  4K         Date: 2/15/91         Version: 
  2280.  Description:
  2281.  TN.094.Tags - Apple has decided to eliminate support for file-system tags 
  2282. on its future products; this technical note explains this decision.
  2283. Some of Apple’s disk products (and some third-party products) have the 
  2284. ability to store 532 bytes per sector, instead of the normal 512. Twelve of
  2285. the extra bytes are used to store redundant file system information, known 
  2286. as “tags”, to be used by a scavenging utility to reconstruct damaged disks.
  2287.  
  2288.  Name  =  TN.093.MPW {$LOAD}
  2289.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.093.MPW {$LOAD}
  2290.  Size:  7K         Date: 2/15/91         Version: 
  2291.  Description:
  2292.  TN.093.MPW {$LOAD} - This technical note discusses the Pascal {$LOAD} 
  2293. directive as well as how to unload the _DataInit and %_MethTables 
  2294. segments.{$LOAD} MPW Pascal has a {$LOAD} directive that can dramatically 
  2295. speed up compiles.
  2296.  
  2297.  Name  =  TN.092.Appearance Of Text
  2298.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.092.Appearance Of Text
  2299.  Size:  7K         Date: 2/15/91         Version: 
  2300.  Description:
  2301.  TN.092.Appearance Of Text - This technical note describes why text doesn’t 
  2302. always look the way you expect depending on the environment you are in. 
  2303. There are a number of Macintosh text editing applications where layout is 
  2304. critical.  Unfortunately, text on a newer machine sometimes prints 
  2305. differently than text on a 64K ROM Macintosh. Let’s examine some 
  2306. differences you should expect and why.
  2307.  
  2308.  Name  =  TN.091.LW PicComments
  2309.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.091.LW PicComments
  2310.  Size: 33K         Date: 2/15/91         Version: 
  2311.  Description:
  2312.  TN.091.LW PicComments - This technical note is a continuation of Technical 
  2313. Note #72. This technical note discusses the picture comments that the 
  2314. LaserWriter driver recognizes. This technical note has been modified to 
  2315. include corrected descriptions of the SetLineWidth, PostScriptFile and 
  2316. ResourcePS comments and to include some additional warnings.
  2317.  
  2318.  Name  =  TN.090.SANE Incompatibilities
  2319.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.090.SANE Incompatibilities
  2320.  Size:  3K         Date: 2/15/91         Version: 
  2321.  Description:
  2322.  TN.090.SANE Incompatibilities - Earlier versions of this note described a 
  2323. problem with SANE and System 2.0. Use of System 2.0 is only recommended for
  2324. Macintosh 128 machines, which contain the 64K ROMs. Information specific to
  2325. 64K ROM machines has been deleted from Macintosh Technical Notes for 
  2326. reasons of clarity.
  2327.  
  2328.  Name  =  TN.089.DrawPicture Bug
  2329.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.089.DrawPicture Bug
  2330.  Size:  3K         Date: 2/15/91         Version: 
  2331.  Description:
  2332.  TN.089.DrawPicture Bug - Earlier versions of this note described a bug in 
  2333. DrawPicture. This bug never occurred on 64K ROM machines, and has been 
  2334. fixed in System 3.2 and newer. Use of Systems older than 3.2 on non-64K ROM
  2335. machines is no longer recommended.
  2336.  
  2337.  Name  =  TN.088.Signals
  2338.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.088.Signals
  2339.  Size: 14K         Date: 2/15/91         Version: 
  2340.  Description:
  2341.  TN.088.Signals - Signals are a form of intra-program interrupt which can 
  2342. greatly aid clean, inexpensive error trapping in stack frame intensive 
  2343. languages. A program may invoke the Signal procedure and immediately return
  2344. to the last invocation of CatchSignal, including the complete stack frame 
  2345. state at that point.
  2346.  
  2347.  Name  =  TN.087.Error in FCBPBRec
  2348.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.087.Error in FCBPBRec
  2349.  Size:  4K         Date: 2/15/91         Version: 
  2350.  Description:
  2351.  TN.087.Error in FCBPBRec - The declaration of a FCBPBRec is wrong in Inside
  2352. Macintosh Volume IV  and early versions of MPW. This has been fixed in MPW 
  2353. 1.0 and newer. An error was made in the declaration of an FCBPBRec 
  2354. parameter block that is used in PBGetFCBInfo calls.  The field ioFCBIndx 
  2355. was incorrectly listed as a LONGINT.  The following declaration (found in 
  2356. Inside Macintosh):
  2357.  
  2358.  Name  =  TN.086.MacPaint Document Format
  2359.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.086.MacPaint Document Format
  2360.  Size: 12K         Date: 2/15/91         Version: 
  2361.  Description:
  2362.  TN.086.MacPaint Document Format - This Technical Note describes the 
  2363. internal format of a MacPaint® document, which is a standard used by many 
  2364. other programs.  This description is the same as that found in the 
  2365. “Macintosh Miscellaneous” section of early Inside Macintosh versions.
  2366. Changes since October 1988:  Fixed bugs in the example code.
  2367.  
  2368.  Name  =  TN.085.GetNextEvent & Blinkin'
  2369.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.085.GetNextEvent & Blinkin'
  2370.  Size:  5K         Date: 2/15/91         Version: 
  2371.  Description:
  2372.  TN.085.GetNextEvent & Blinkin' - Wherein arcane mysteries are unraveled so 
  2373. you can make the Alarm Clock (or a similar desk accessory) blink the Apple 
  2374. menu at the appointed second. Also, why GetNextEvent is a good thing.
  2375.  
  2376.  Name  =  TN.084.Edit File Format
  2377.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.084.Edit File Format
  2378.  Size:  4K         Date: 2/15/91         Version: 
  2379.  Description:
  2380.  TN.084.Edit File Format - This technical note describes the format of the 
  2381. files created by Edit. It has been verified for versions 1.x and 2.0. Edit,
  2382. a text editor licensed by Apple and included in the Consulair 68000 
  2383. Development System, can read any text-only file whose file type is TEXT. 
  2384. Files created by Edit have a creator ID of EDIT. Edit is a disk-based 
  2385. editor so the file length is not limited by available memory. 
  2386.  
  2387.  Name  =  TN.083.System Heap Size
  2388.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.083.System Heap Size
  2389.  Size:  3K         Date: 2/15/91         Version: 
  2390.  Description:
  2391.  TN.083.System Heap Size - Earlier versions of this note pointed out that, 
  2392. due to varying system heap sizes, the application heap does not always 
  2393. start at $CB00. The start of the application heap has not been fixed for 
  2394. some time now; programs that depend on it never work on the Macintosh SE or
  2395. the Macintosh II.
  2396.  
  2397.  Name  =  TN.082.TextEdit
  2398.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.082.TextEdit
  2399.  Size:  5K         Date: 2/15/91         Version: 
  2400.  Description:
  2401.  TN.082.TextEdit - This technical note will point out some bugs (and 
  2402. possible workarounds), and other items of interest for the TextEdit 
  2403. programmer.
  2404.  
  2405.  Name  =  TN.081.Caching
  2406.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.081.Caching
  2407.  Size:  8K         Date: 2/15/91         Version: 
  2408.  Description:
  2409.  TN.081.Caching - This technical note describes disk and File System caching
  2410. on the Macintosh, with particular emphasis on the high-level File System 
  2411. cache. Of the three caches used for file I/O, this is the one which could 
  2412. have the most impact on your program. Note: This big File System cache is 
  2413. not available on 64K ROM machines.
  2414.  
  2415.  Name  =  TN.080.SF Tips
  2416.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.080.SF Tips
  2417.  Size:  5K         Date: 2/15/91         Version: 
  2418.  Description:
  2419.  TN.080.SF Tips - SFSaveDisk and CurDirStore. Low-memory location $214 
  2420. (SFSaveDisk—a word) contains –1* the vRefNum of the volume that SF is 
  2421. displaying (MFS and HFS). It never contains –1* a WDRefNum. Low-memory 
  2422. location $398 (CurDirStore—a long word) contains the dirID of the directory
  2423. that SF is displaying (HFS only). This information can be particularly 
  2424. useful at hook time, when the vRefNum field of the reply record has not yet
  2425. been filled in. 
  2426.  
  2427.  Name  =  TN.079._ZoomWindow
  2428.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.079._ZoomWindow
  2429.  Size: 11K         Date: 2/15/91         Version: 
  2430.  Description:
  2431.  TN.079._ZoomWindow - This Technical Note contains some hints about using 
  2432. _ZoomWindow. Changes since March 1988:  Added a discussion of and sample 
  2433. code to demonstrate recommended window zooming technique in multi-screen 
  2434. environments. Basics _ZoomWindow allows a window to be toggled between two 
  2435. states (where “state” means size and location):  a default state and a 
  2436. user-selectable state.  The default state stays the same unless the 
  2437. application changes it, while the user-selectable state is altered when the
  2438. user changes the size or location of a zoomable window.  The code to handle
  2439. zoomable windows in a main event loop would look something like the 
  2440. examples which follow.
  2441.  
  2442.  Name  =  TN.078.Resource Manager Tips
  2443.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.078.Resource Manager Tips
  2444.  Size:  5K         Date: 2/15/91         Version: 
  2445.  Description:
  2446.  TN.078.Resource Manager Tips - This note discusses some problems with the 
  2447. Resource Manager and how to work around them. OpenResFile Bug. This section
  2448. of the note formerly described a bug in OpenResFile on 64K ROM machines. 
  2449. Information specific to 64K ROM machines has been deleted from Macintosh 
  2450. Technical Notes for reasons of clarity.
  2451.  
  2452.  Name  =  TN.077.HFS Ruminations
  2453.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.077.HFS Ruminations
  2454.  Size: 14K         Date: 2/15/91         Version: 
  2455.  Description:
  2456.  TN.077.HFS Ruminations - This technical note contains some thoughts 
  2457. concerning HFS. HFS numbers. A drive number is a small positive word (e.g. 
  2458. 3). A VRefNum (as opposed to a WDRefNum) is a small negative word (e.g. 
  2459. $FFFE). A WDRefNum is a large negative word (e.g. $8033). A DirID is a long
  2460. word (e.g. 38). The root directory of an HFS volume always has a dirID of 
  2461. 2.
  2462.  
  2463.  Name  =  TN.076.Mac Plus Update Script
  2464.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.076.Mac Plus Update Script
  2465.  Size:  3K         Date: 2/15/91         Version: 
  2466.  Description:
  2467.  TN.076.Mac Plus Update Script - Earlier versions of this note described the
  2468. Macintosh Plus Update installation script, because it was the first script 
  2469. created for the Installer. Since then, many versions of this script have 
  2470. been created which no longer match what was described here. In addition, 
  2471. many other scripts now exist.
  2472.  
  2473.  Name  =  TN.074.Data In Resource Fork
  2474.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.074.Data In Resource Fork
  2475.  Size:  3K         Date: 2/15/91         Version: 
  2476.  Description:
  2477.  TN.074.Data In Resource Fork - Don’t use the resource fork of a file for 
  2478. non-resource data. Parts of the system (including the File Manager and the 
  2479. Finder) assume that if this fork exists, it will contain valid Resource 
  2480. Manager information. PBOpenRF was provided to allow copying of the resource
  2481. fork of a file in its entirety, without Resource Manager interpretation. Do
  2482. not use it to open “another data fork.”
  2483.  
  2484.  Name  =  TN.073.Color Printing
  2485.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.073.Color Printing
  2486.  Size:  9K         Date: 2/15/91         Version: 
  2487.  Description:
  2488.  TN.073.Color Printing - This discusses color printing in a Macintosh 
  2489. application. Whereas the original eight-color model of QuickDraw was 
  2490. sufficient for printing in color on the ImageWriter II, the introduction of
  2491. Color QuickDraw has created the need for more sophisticated printing 
  2492. methods.
  2493.  
  2494.  Name  =  TN.072.LW Optimizing Techniques
  2495.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.072.LW Optimizing Techniques
  2496.  Size: 12K         Date: 2/15/91         Version: 
  2497.  Description:
  2498.  TN.072.LW Optimizing Techniques - This Technical Note discusses techniques 
  2499. for optimizing code for printing on the LaserWriter. Changes since March 
  2500. 1988:  Updated the “Printable Paper Area” and “Memory Considerations” 
  2501. sections as well as the printer IDs, moved the error messages from the end 
  2502. of the Note to Technical Note #161, A Printing Loop That Cares…, and 
  2503. removed the “Spool-A-Page/Print-A-Page” section because Technical Note 
  2504. #125, Effect of Spool-A-Page/Print-A-Page on Shared Printers, already 
  2505. thoroughly covers this topic.
  2506.  
  2507.  Name  =  TN.071.Finding Drivers
  2508.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.071.Finding Drivers
  2509.  Size:  8K         Date: 2/15/91         Version: 
  2510.  Description:
  2511.  TN.071.Finding Drivers - This note will explain how code can be written to 
  2512. determine the reference number of a previously installed driver when only 
  2513. the name is known. Changes since 2/86: Since the driver can be purged and 
  2514. the DCE still be allocated, the code now tests for dCtlDriver being NIL as 
  2515. well.
  2516.  
  2517.  Name  =  TN.070.Single-Sided Disks
  2518.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.070.Single-Sided Disks
  2519.  Size:  5K         Date: 2/15/91         Version: 
  2520.  Description:
  2521.  TN.070.Single-Sided Disks - This document explains how to initialize a disk
  2522. as either single- or double- sided. It only applies to 800K drives, of 
  2523. course.
  2524.  
  2525.  Name  =  TN.069.PBGetCatInfo
  2526.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.069.PBGetCatInfo
  2527.  Size: 10K         Date: 2/15/91         Version: 
  2528.  Description:
  2529.  TN.069.PBGetCatInfo - This technical note describes how to set ioFDirIndex 
  2530. for PBGetCatInfo. The File Manager chapter of Inside Macintosh volume IV is
  2531. not very specific in describing how to use ioFDirIndex when calling 
  2532. PBGetCatInfo. It correctly says that ioFDirIndex should be positive if you 
  2533. are making indexed calls to PBGetCatInfo (analogous to making indexed calls
  2534. to PBGetVInfo as described in Technical Note #24). 
  2535.  
  2536.  Name  =  TN.068.Search.V
  2537.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.068.Search.V
  2538.  Size: 14K         Date: 2/15/91         Version: 
  2539.  Description:
  2540.  TN.068 This Technical Note discusses the PBCatSearch function and tells why
  2541. it should be used. It also provides simple algorithms for searching both 
  2542. MFS and HFS volumes and discusses the problems with indexed search 
  2543. routines.
  2544.  
  2545.  Name  =  TN.067.Blessed Folder
  2546.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.067.Blessed Folder
  2547.  Size:  4K         Date: 2/15/91         Version: 
  2548.  Description:
  2549.  TN.067.Blessed Folder - This technical note describes how to determine 
  2550. which folder on an HFS volume is the blessed folder, that is, the folder 
  2551. that contains both the System file and the Finder.
  2552.  
  2553.  Name  =  TN.066.Which File System?
  2554.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.066.Which File System?
  2555.  Size:  6K         Date: 2/15/91         Version: 
  2556.  Description:
  2557.  TN.066.Which File System? - This Technical Note discusses how to determine 
  2558. which file system a particular volume is running. Changes since June 1990: 
  2559. Removed text about IDs $0001-$0016 being AppleShare volumes; other file 
  2560. systems use this range tooUnder certain circumstances it is necessary to 
  2561. determine which file system is currently running on a particular volume.  
  2562. For example, on a 64K ROM machine, your application (i.e., especially disk 
  2563. recovery utilities or disk editors, etc.) may need to check for MFS versus 
  2564. HFS.  Note that this is usually not necessary, because all ROMs, except the
  2565. original 64K ROMs, include HFS. You may need to check if a particular 
  2566. volume is in High Sierra, ISO 9660, or audio CD format.
  2567.  
  2568.  Name  =  TN.065.Mac Plus Pinouts
  2569.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.065.Mac Plus Pinouts
  2570.  Size:  8K         Date: 2/15/91         Version: 
  2571.  Description:
  2572.  TN.065.Mac Plus Pinouts - This note gives pinout descriptions for some of 
  2573. the Macintosh Plus ports and Macintosh Plus cables that are different than 
  2574. the Macintosh 128K and 512K. 
  2575.  
  2576.  Name  =  TN.064.IZANotify
  2577.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.064.IZANotify
  2578.  Size:  3K         Date: 2/15/91         Version: 
  2579.  Description:
  2580.  TN.064.IZANotify - Previous versions of this technical note recommended use
  2581. of a low memory hook called IAZNotify. We no longer recommend use of 
  2582. IAZNotify, since the IAZNotify hook is never called under MultiFinder.
  2583.  
  2584.  Name  =  TN.063.WriteResource Patch
  2585.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.063.WriteResource Patch
  2586.  Size:  3K         Date: 2/15/91         Version: 
  2587.  Description:
  2588.  TN.063.WriteResource Patch - This note formerly contained a patch to fix a 
  2589. bug in WriteResource on 64K ROM machines. Information specific to 64K ROM 
  2590. machines has been deleted from Macintosh Technical Notes for reasons of 
  2591. clarity.
  2592.  
  2593.  Name  =  TN.062.Resource Header
  2594.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.062.Resource Header
  2595.  Size:  3K         Date: 2/15/91         Version: 
  2596.  Description:
  2597.  TN.062.Resource Header - The section of the Resource Manager chapter of 
  2598. Inside Macintosh which describes the internal format of a resource file 
  2599. shows an area of the resource header labeled “available for application 
  2600. data.” You should not use this area—it is used by the Resource Manager.
  2601.  
  2602.  Name  =  TN.061.GetItemStyle Bug
  2603.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.061.GetItemStyle Bug
  2604.  Size:  3K         Date: 2/15/91         Version: 
  2605.  Description:
  2606.  TN.061.GetItemStyle Bug - This note formerly described a bug (in 
  2607. GetItemStyle) which occurs only on 64K ROM machines. Information specific 
  2608. to 64K ROM machines has been deleted from Macintosh Technical Notes for 
  2609. reasons of clarity.
  2610.  
  2611.  Name  =  TN.060.Narrow GrafPorts
  2612.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.060.Narrow GrafPorts
  2613.  Size:  3K         Date: 2/15/91         Version: 
  2614.  Description:
  2615.  TN.060.Narrow GrafPorts - When you draw a character into a GrafPort, your 
  2616. program will die with an address error if the width of the GrafPort is 
  2617. smaller than the width of the character. If you check before drawing the 
  2618. character to see if the GrafPort is wide enough, you can avoid this 
  2619. unfortunate tragedy.
  2620.  
  2621.  Name  =  TN.059.Pictures & Clip Regions
  2622.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.059.Pictures & Clip Regions
  2623.  Size:  4K         Date: 2/15/91         Version: 
  2624.  Description:
  2625.  TN.059.Pictures & Clip Regions - This note describes a problem that affects
  2626. creation of QuickDraw pictures. When a GrafPort is created, the fields in 
  2627. the GrafPort are given default values; one of these is the clip region, 
  2628. which is set to the rectangle (–32767, –32767, 32767, 32767). If you create
  2629. a picture, then call DrawPicture with a destination rectangle that is not 
  2630. the same size as the picFrame without ever changing the default clip 
  2631. region, nothing will be drawn.
  2632.  
  2633.  Name  =  TN.058.IU Bug
  2634.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.058.IU Bug
  2635.  Size:  3K         Date: 2/15/91         Version: 
  2636.  Description:
  2637.  TN.058.IU Bug - This note formerly described a bug in System 2.0, which is 
  2638. now recommended only for use with 64K ROM machines. Information specific to
  2639. 64K ROM machines has been deleted from Macintosh Technical Notes for 
  2640. reasons of clarity.
  2641.  
  2642.  Name  =  TN.057.Macintosh Plus
  2643.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.057.Macintosh Plus
  2644.  Size:  3K         Date: 2/15/91         Version: 
  2645.  Description:
  2646.  TN.057.Macintosh Plus - This note was originally meant as interim Macintosh
  2647. Plus documentation and has been replaced by Inside Macintosh Volume IV, 
  2648. which is more complete and more accurate.
  2649.  
  2650.  Name  =  TN.056.Break/CTS
  2651.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.056.Break/CTS
  2652.  Size:  4K         Date: 2/15/91         Version: 
  2653.  Description:
  2654.  TN.056.Break/CTS - This technical note documents the event record 
  2655. information that gets passed when the serial driver posts an event for a 
  2656. break/CTS status change.
  2657.  
  2658.  Name  =  TN.055.Drawing Icons
  2659.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.055.Drawing Icons
  2660.  Size: 11K         Date: 2/15/91         Version: 
  2661.  Description:
  2662.  TN.055.Drawing Icons - Using resources of type ICON allows drawing of icons
  2663. in srcOr mode.  Using resources of type ICN# allows for more variety when 
  2664. drawing icons.
  2665.  
  2666.  Name  =  TN.054.Limit to Resource Size
  2667.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.054.Limit to Resource Size
  2668.  Size:  3K         Date: 2/15/91         Version: 
  2669.  Description:
  2670.  TN.054.Limit to Resource Size - This note formerly described a bug in 
  2671. WriteResource on 64K ROM machines. Information specific to 64K ROM machines
  2672. has been deleted from Macintosh Technical Notes for reasons of clarity.
  2673.  
  2674.  Name  =  TN.053.MoreMasters Revisited
  2675.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.053.MoreMasters Revisited
  2676.  Size:  7K         Date: 2/15/91         Version: 
  2677.  Description:
  2678.  TN.053.MoreMasters Revisited - MoreMasters should be called from CODE 
  2679. segment 1. The number of master pointers that a program needs can be 
  2680. determined empirically. MoreMasters can be tricked into creating the exact 
  2681. number of master pointers desired.
  2682.  
  2683.  Name  =  TN.052._Launch from High-Level
  2684.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.052._Launch from High-Level
  2685.  Size:  3K         Date: 2/15/91         Version: 
  2686.  Description:
  2687.  TN.052._Launch from High-Level - This Technical Note formerly discussed 
  2688. calling _Launch from a high-level language which allows inline assembly 
  2689. code. Changes since March 1988:  Merged contents into Technical Note #126.
  2690.  
  2691.  Name  =  TN.051.Debugging w/PurgeMem
  2692.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.051.Debugging w/PurgeMem
  2693.  Size:  4K         Date: 2/15/91         Version: 
  2694.  Description:
  2695.  TN.051.Debugging w/PurgeMem - If you are having problems finding bugs like 
  2696. handles that aren’t locked down when they should be, or resources that 
  2697. aren’t there when they’re supposed to be, there is a handy technique for 
  2698. forcing these problems to the surface. 
  2699.  
  2700.  Name  =  TN.050.Calling SetResLoad
  2701.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.050.Calling SetResLoad
  2702.  Size:  3K         Date: 2/15/91         Version: 
  2703.  Description:
  2704.  TN.050.Calling SetResLoad - Calling SetResLoad(FALSE) can be useful if you 
  2705. need to get a handle to a resource, without causing the resource to be 
  2706. loaded from disk if it isn’t already in memory. This technique is used in 
  2707. Technical Note #1. SetResLoad changes the value of the low-memory global 
  2708. ResLoad (at location $A5E).
  2709.  
  2710.  Name  =  TN.048.Bundles
  2711.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.048.Bundles
  2712.  Size:  8K         Date: 2/15/91         Version: 
  2713.  Description:
  2714.  TN.048.Bundles - This note describes what a bundle is and how to create 
  2715. one. A bundle is a collection of resources. Bundles can be used for a 
  2716. number of different purposes, and are currently used by the Finder ito tie 
  2717. an icon to a file type, allowing your application or data file to have its 
  2718. own icon.
  2719.  
  2720.  Name  =  TN.047.Standard File
  2721.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.047.Standard File
  2722.  Size: 24K         Date: 2/15/91         Version: 
  2723.  Description:
  2724.  TN.047.Standard File - This note contains an example program that 
  2725. demonstrates how SFPGetFile can be customized using the dialog hook and 
  2726. file filter functions.
  2727.  
  2728.  Name  =  TN.046.Separate Resource Files
  2729.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.046.Separate Resource Files
  2730.  Size:  4K         Date: 2/15/91         Version: 
  2731.  Description:
  2732.  TN.046.Separate Resource Files - During application development, you use a 
  2733. resource compiler (RMaker or Rez) to convert a resource definition file 
  2734. into an executable application. You rarely change anything but your CODE 
  2735. resources during development, and the resource compiler spends a lot of 
  2736. time compiling other resources which have not changed since they were 
  2737. originally created.
  2738.  
  2739.  Name  =  TN.045.ROM
  2740.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.045.ROM
  2741.  Size:  3K         Date: 2/15/91         Version: 
  2742.  Description:
  2743.  TN.045.ROM - This note formerly listed the traps from Inside Macintosh 
  2744. Volumes I-III. Better references are now available elsewhere.
  2745.  
  2746.  Name  =  TN.044.HFS Compatibility
  2747.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.044.HFS Compatibility
  2748.  Size:  6K         Date: 2/15/91         Version: 
  2749.  Description:
  2750.  TN.044.HFS Compatibility - This technical note tells you how to make sure 
  2751. that your applications run under the Hierarchical File System (HFS).
  2752.  
  2753.  Name  =  TN.043.Calling LoadSeg
  2754.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.043.Calling LoadSeg
  2755.  Size:  3K         Date: 2/15/91         Version: 
  2756.  Description:
  2757.  TN.043.Calling LoadSeg - Earlier versions of this note described a way to 
  2758. call the LoadSeg trap, which is used internally by the Segment Loader. We 
  2759. no longer recommend calling LoadSeg directly.
  2760.  
  2761.  Name  =  TN.042.Pascal Routine Pointers
  2762.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.042.Pascal Routine Pointers
  2763.  Size:  4K         Date: 2/15/91         Version: 
  2764.  Description:
  2765.  TN.042.Pascal Routine Pointers - Routines passed by pointer are used in 
  2766. many places in conjunction with Macintosh system routines. For example, 
  2767. filter procedures for modal dialogs are passed by pointer, as are controls’
  2768. action procedures (when calling TrackControl), and I/O completion routines.
  2769.  
  2770.  Name  =  TN.041.Off-Screen Bitmaps
  2771.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.041.Off-Screen Bitmaps
  2772.  Size: 12K         Date: 2/15/91         Version: 
  2773.  Description:
  2774.  TN.041.Off-Screen Bitmaps - This Technical Note provides an example of 
  2775. creating an off-screen bitmap, drawing to it, and then copying from it to 
  2776. the screen. Changes since April 1990:  Clarified the section on window 
  2777. updates with off-screen bitmaps to explicitly limit these updates to your 
  2778. own windows.
  2779.  
  2780.  Name  =  TN.040.Finder Flags
  2781.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.040.Finder Flags
  2782.  Size:  4K         Date: 2/15/91         Version: 
  2783.  Description:
  2784.  TN.040.Finder Flags - This revision corrects the meanings of bits 6 and 7, 
  2785. which were interchanged in the older version of this technical note. 
  2786. ResEdit uses these bits incorrectly in versions older than 1.2.
  2787.  
  2788.  Name  =  TN.039.Segment Loader Patch
  2789.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.039.Segment Loader Patch
  2790.  Size:  3K         Date: 2/15/91         Version: 
  2791.  Description:
  2792.  TN.039.Segment Loader Patch - This note formerly described a patch to the 
  2793. Segment Loader for 64K ROM machines. Information specific to 64K ROM 
  2794. machines has been deleted from Macintosh Technical Notes for reasons of 
  2795. clarity.
  2796.  
  2797.  Name  =  TN.038.ROM Debugger
  2798.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.038.ROM Debugger
  2799.  Size:  5K         Date: 2/15/91         Version: 
  2800.  Description:
  2801.  TN.038.ROM Debugger - The debugger in ROM (not present on the Macintosh 
  2802. 128, Macintosh 512, or Macintosh XL) recognizes the following commands: PC 
  2803. [expr]   (program counter)Typing PC on a line by itself displays the 
  2804. program counter. Typing PC 50000 sets the program counter to $50000.
  2805. SM [address [number(s)]]   (set memory) Typing SM on a line by itself 
  2806. displays the next 96 bytes of memory. Typing SM 50000 will display memory 
  2807. starting at $50000. Typing SM 50000 4849 2054 6865 7265 2120 will set 
  2808. memory starting at $50000 to $4849… Subsequently hitting Return will 
  2809. increment the display a screen at a time.
  2810.  
  2811.  Name  =  TN.037.Logic Boards
  2812.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.037.Logic Boards
  2813.  Size:  3K         Date: 2/15/91         Version: 
  2814.  Description:
  2815.  TN.037.Logic Boards - Earlier versions of this note are obsoleted by 
  2816. existence of SysEnvirons, which is documented in Technical Note #129.
  2817.  
  2818.  Name  =  TN.036.Drive Queue Elements
  2819.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.036.Drive Queue Elements
  2820.  Size:  8K         Date: 2/15/91         Version: 
  2821.  Description:
  2822.  TN.036.Drive Queue Elements - This note expands on Inside Macintosh’s 
  2823. definition of the drive queue, which is given in the File Manager chapter.
  2824.  
  2825.  Name  =  TN.035.DrawPicture Problem
  2826.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.035.DrawPicture Problem
  2827.  Size:  3K         Date: 2/15/91         Version: 
  2828.  Description:
  2829.  TN.035.DrawPicture Problem - This note formerly described a problem with 
  2830. DrawPicture that occurred only on 64K ROM machines. Information specific to
  2831. 64K ROM machines has been deleted from Macintosh Technical Notes for 
  2832. reasons of clarity.
  2833.  
  2834.  Name  =  TN.034.User Items in Dialogs
  2835.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.034.User Items in Dialogs
  2836.  Size: 10K         Date: 2/15/91         Version: 
  2837.  Description:
  2838.  TN.034.User Items in Dialogs - The Dialog Manager does not go into detail 
  2839. about how to manage user items in dialogs; this Technical Note describes 
  2840. the process. Changes since March 1, 1988:  Added MPW C 3.0 code, added a 
  2841. _SetPort call to the Pascal example, and noted the necessity and meaning of
  2842. enabled items.
  2843.  
  2844.  Name  =  TN.033.IW II Paper Motion
  2845.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.033.IW II Paper Motion
  2846.  Size:  4K         Date: 2/15/91         Version: 
  2847.  Description:
  2848.  TN.033.IW II Paper Motion - The purpose of this technical note is to answer
  2849. the many questions asked about why the paper moves the way it does on the 
  2850. ImageWriter II.
  2851.  
  2852.  Name  =  TN.032.Reserved Types
  2853.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.032.Reserved Types
  2854.  Size:  3K         Date: 2/15/91         Version: 
  2855.  Description:
  2856.  TN.032.Reserved Types - Your applications and desk accessories can create 
  2857. their own resource types. To avoid using type names which have been or will
  2858. be used in the system, Apple has reserved all resource type names which 
  2859. consist entirely of spaces ($20), lower-case letters ($61 through $7A), and
  2860. “international” characters (greater than $7F).
  2861.  
  2862.  Name  =  TN.030.Font Height Tables
  2863.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.030.Font Height Tables
  2864.  Size:  4K         Date: 2/15/91         Version: 
  2865.  Description:
  2866.  TN.030.Font Height Tables - This technical note describes how the Font 
  2867. Manager (except in 64K ROMs) calculates height tables for fonts and how you
  2868. can force recalculation.
  2869.  
  2870.  Name  =  TN.029.Desktop File
  2871.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.029.Desktop File
  2872.  Size:  6K         Date: 2/15/91         Version: 
  2873.  Description:
  2874.  TN.029.Desktop File - This technical note describes the resources found in 
  2875. the Desktop file. Note: Don’t base anything critical on the format of the 
  2876. Desktop file. AppleShare already uses another scheme; AppleShare volumes 
  2877. don’t have Desktop files. The format of this file can, and probably will, 
  2878. change in the future.
  2879.  
  2880.  Name  =  TN.028.Finders & Drives
  2881.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.028.Finders & Drives
  2882.  Size:  5K         Date: 2/15/91         Version: 
  2883.  Description:
  2884.  TN.028.Finders & Drives - This technical note describes the differences in 
  2885. the way the 1.1g, 4.1, 5.0 and newer Finders communicate with foreign 
  2886. (non-Sony) disk drives.
  2887.  
  2888.  Name  =  TN.027.MacDraw’s PICT Format
  2889.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.027.MacDraw’s PICT Format
  2890.  Size:  4K         Date: 2/15/91         Version: 
  2891.  Description:
  2892.  TN.027.MacDraw’s PICT Format - This Technical Note formerly described the 
  2893. PICT file format used by MacDraw® and the picture comments the MacDraw used
  2894. to communicate with the LaserWriter driver. Changes since March 1988:  
  2895. Updated the Claris address.
  2896.  
  2897.  Name  =  TN.026.Text Widths
  2898.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.026.Text Widths
  2899.  Size:  5K         Date: 2/15/91         Version: 
  2900.  Description:
  2901.  TN.026.Text Widths - This technical note discusses the fact that the width 
  2902. of a string is not always the same as the sum of the widths of all the 
  2903. characters in the string, due to roundoff error.
  2904.  
  2905.  Name  =  TN.025.A5 & Patching Traps
  2906.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.025.A5 & Patching Traps
  2907.  Size:  4K         Date: 2/15/91         Version: 
  2908.  Description:
  2909.  TN.025.A5 & Patching Traps - Future software may allow desk accessories to 
  2910. have their own globals by changing register A5 when the accessory is 
  2911. entered and exited. This can cause problems for applications that patch 
  2912. traps without following certain rules.
  2913.  
  2914.  Name  =  TN.024.Available Volumes
  2915.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.024.Available Volumes
  2916.  Size:  5K         Date: 2/15/91         Version: 
  2917.  Description:
  2918.  TN.024.Available Volumes - Standard File lets the user select one file from
  2919. any available volume; it is sometimes necessary for an application to find 
  2920. which volumes are present. This technical note gives the proper method of 
  2921. accomplishing this.
  2922.  
  2923.  Name  =  TN.023.Font/DA Mover
  2924.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.023.Font/DA Mover
  2925.  Size:  5K         Date: 2/15/91         Version: 
  2926.  Description:
  2927.  TN.023.Font/DA Mover - This technical note describes how to make sure that 
  2928. your desk accessory will work after being moved by Font/Desk Accessory 
  2929. Mover.
  2930.  
  2931.  Name  =  TN.022.TEScroll Bug
  2932.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.022.TEScroll Bug
  2933.  Size:  3K         Date: 2/15/91         Version: 
  2934.  Description:
  2935.  TN.022.TEScroll Bug - A bug in TextEdit causes the following problem: a 
  2936. call to TEScroll with no horizontal or vertical displacement (that is, both
  2937. dh and dv set to zero) results in disappearance of the insertion point. 
  2938. Since such calls do nothing, they should be avoided.
  2939.  
  2940.  Name  =  TN.021.Picture Opcodes
  2941.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.021.Picture Opcodes
  2942.  Size: 13K         Date: 2/15/91         Version: 
  2943.  Description:
  2944.  TN.021.Picture Opcodes - This technical note describes the internal format 
  2945. of the QuickDraw picture data structure. This revision corrects some errors
  2946. in the opcode descriptions and provides some examples.
  2947.  
  2948.  Name  =  TN.020.Server
  2949.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.020.Server
  2950.  Size: 10K         Date: 2/15/91         Version: 
  2951.  Description:
  2952.  TN.020.Server - Many applications could benefit from the ability to share 
  2953. common data between several Macintoshes, without requiring a file server. 
  2954. This technical note discusses one technique for managing this AppleTalk 
  2955. communication.
  2956.  
  2957.  Name  =  TN.019.Clickless Sound
  2958.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.019.Clickless Sound
  2959.  Size:  4K         Date: 2/15/91         Version: 
  2960.  Description:
  2961.  TN.019.Clickless Sound - Apple currently discourages use of the Sound 
  2962. Driver due to compatibility issues.  The hardware support for sound 
  2963. designed into the early Macintosh architecture was minimal.  (Many things 
  2964. have changed since 1983–1984.)  The new Macintosh computers contain a 
  2965. custom chip to provide better support for sound, namely the Apple Sound 
  2966. Chip (ASC).  The ASC is present in the complete Macintosh II family as well
  2967. as the Macintosh SE/30 and later machines. 
  2968.  
  2969.  Name  =  TN.018.TextEdit Conversion
  2970.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.018.TextEdit Conversion
  2971.  Size:  4K         Date: 2/15/91         Version: 
  2972.  Description:
  2973.  TN.018.TextEdit Conversion - Text sometimes must be converted between a 
  2974. Pascal string and “pure” text in a handle. This note illustrates a way to 
  2975. do this using MPW Pascal. Text contained in TextEdit records sometimes must
  2976. be passed to routines which expect a Pascal string of type Str255 (a length
  2977. byte followed by up to 255 characters). 
  2978.  
  2979.  Name  =  TN.017.Low-Level Print Driver
  2980.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.017.Low-Level Print Driver
  2981.  Size:  3K         Date: 2/15/91         Version: 
  2982.  Description:
  2983.  TN.017.Low-Level Print Driver - This technical note has been replaced by 
  2984. information in Inside Macintosh Volume V. Please refer to the Print Manager
  2985. chapter of Inside Macintosh Volume V for information on low-level print 
  2986. driver calls.
  2987.  
  2988.  Name  =  TN.016.MacWorks XL
  2989.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.016.MacWorks XL
  2990.  Size:  3K         Date: 2/15/91         Version: 
  2991.  Description:
  2992.  TN.016.MacWorks XL - Earlier versions of this note described MacWorks XL, 
  2993. the system software that allowed you to use Macintosh applications on the 
  2994. Macintosh XL. Information specific to Macintosh XL machines has been 
  2995. deleted from Macintosh Technical Notes for reasons of clarity.
  2996.  
  2997.  Name  =  TN.015.Finder 4.1
  2998.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.015.Finder 4.1
  2999.  Size:  3K         Date: 2/15/91         Version: 
  3000.  Description:
  3001.  TN.015.Finder 4.1 - This note formerly described Finder 4.1, which is now 
  3002. recommended only for use with 64K ROM machines. Information specific to 64K
  3003. ROM machines has been deleted from Macintosh Technical Notes for reasons of
  3004. clarity.
  3005.  
  3006.  Name  =  TN.014.INIT 31
  3007.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.014.INIT 31
  3008.  Size:  3K         Date: 2/15/91         Version: 
  3009.  Description:
  3010.  TN.014.INIT 31 - This note formerly described things that are now covered 
  3011. in the System Resource File chapter of Inside Macintosh Volume IV and the 
  3012. Start Manager chapter of Inside Macintosh Volume V. Please refer to Inside 
  3013. Macintosh.
  3014.  
  3015.  Name  =  TN.013.MW Clipboard Format
  3016.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.013.MW Clipboard Format
  3017.  Size:  3K         Date: 2/15/91         Version: 
  3018.  Description:
  3019.  TN.013.MW Clipboard Format - This Technical Note formerly described the 
  3020. clipboard format used by MacWrite®, which is now published by Claris.
  3021. Changes since March 1988:  Updated the Claris address.
  3022.  
  3023.  Name  =  TN.012.Disk-Based MW Format
  3024.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.012.Disk-Based MW Format
  3025.  Size:  3K         Date: 2/15/91         Version: 
  3026.  Description:
  3027.  TN.012.Disk-Based MW Format - This Technical Note formerly described the 
  3028. format of files created by MacWrite®, which is now published by Claris.
  3029. Changes since March 1988:  Updated the Claris address.
  3030.  
  3031.  Name  =  TN.011.Memory-Based MW Format
  3032.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.011.Memory-Based MW Format
  3033.  Size:  3K         Date: 2/15/91         Version: 
  3034.  Description:
  3035.  TN.011.Memory-Based MW Format - This Technical Note formerly described the 
  3036. format of files created by MacWrite® 2.2. Changes since March 1988:  
  3037. Updated the Claris address.
  3038.  
  3039.  Name  =  TN.010.Pinouts
  3040.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.010.Pinouts
  3041.  Size: 11K         Date: 2/15/91         Version: 
  3042.  Description:
  3043.  TN.010.Pinouts - This note gives pinouts for Macintosh ports, cables, and 
  3044. other products. Inside are pinout descriptions for the Macintosh ports, 
  3045. cables, and various other products. Please refer to the Hardware chapter of
  3046. Inside Macintosh and the Macintosh Hardware Reference Manual for more 
  3047. information, especially about power limits. Note that unconnected pins are 
  3048. omitted.
  3049.  
  3050.  Name  =  TN.009.Internets
  3051.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.009.Internets
  3052.  Size:  6K         Date: 2/15/91         Version: 
  3053.  Description:
  3054.  TN.009.Internets - Individual AppleTalk networks can be connected together 
  3055. as internets. It’s important that your application work across internets; 
  3056. this note contains information on the differences between life on a single 
  3057. AppleTalk, and life on an internet. You can read about internets (AppleTalk
  3058. networks connected by one or more bridges) in Inside AppleTalk. What do you
  3059. need to do about them?
  3060.  
  3061.  Name  =  TN.008.ABPasIntf Bug
  3062.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.008.ABPasIntf Bug
  3063.  Size:  3K         Date: 2/15/91         Version: 
  3064.  Description:
  3065.  TN.008.ABPasIntf Bug - Previous versions of this note described a bug in 
  3066. the AppleTalk Pascal Interfaces. This bug was fixed in MPW 1.0 and newer.
  3067.  
  3068.  Name  =  TN.007.Debugging Tips
  3069.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.007.Debugging Tips
  3070.  Size:  6K         Date: 2/15/91         Version: 
  3071.  Description:
  3072.  TN.007.Debugging Tips - This presents a few tips which may make your 
  3073. debugging easier. Setting memory location 0 to something odd Dereferencing 
  3074. nil handles can cause real problems for an application. If location 0 (nil)
  3075. is something even, the dereference will not cause an address error, and the
  3076. application can run on for quite a while, making tracing back to the 
  3077. problem quite difficult. If location 0 contains something odd, such as 
  3078. $50FFC001, an address error will be generated immediately when a nil handle
  3079. is dereferenced. 
  3080.  
  3081.  Name  =  TN.006.Owned Resources
  3082.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.006.Owned Resources
  3083.  Size:  4K         Date: 2/15/91         Version: 
  3084.  Description:
  3085.  TN.006.Owned Resources - To allow the Font/DA Mover to renumber desk 
  3086. accessories as needed when moving them between system files, desk 
  3087. accessories should use the “owned resource” protocol described in the 
  3088. Resource Manager chapter of Inside Macintosh Volume I.
  3089.  
  3090.  Name  =  TN.005.Dialogs from DAs
  3091.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.005.Dialogs from DAs
  3092.  Size:  4K         Date: 2/15/91         Version: 
  3093.  Description:
  3094.  TN.005.Dialogs from DAs - When a desk accessory creates a window (including
  3095. a modeless dialog window) it must set the windowKind to its refnum—a 
  3096. negative number. When the application calls GetNextEvent, the Event Manager
  3097. calls SystemEvent, which checks to see if the event belongs to a desk 
  3098. accessory. SystemEvent checks the windowKind of the frontmost window, and 
  3099. uses the (negative) number for the refnum to make a control call, giving 
  3100. the desk accessory a shot at the event. Then SystemEvent returns TRUE, and 
  3101. GetNextEvent returns FALSE.
  3102.  
  3103.  Name  =  TN.004.GetNewDialog
  3104.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.004.GetNewDialog
  3105.  Size:  4K         Date: 2/15/91         Version: 
  3106.  Description:
  3107.  TN.004.GetNewDialog - When calling GetNewDialog to retrieve a dialog 
  3108. template from a previously opened resource file, how are error conditions 
  3109. indicated to the caller? Unfortunately, they aren’t. The Dialog Manager 
  3110. calls GetResource and assumes the returned value is good. Since the Dialog 
  3111. Manager doesn’t check, you have two choices. Your first choice is to call 
  3112. GetResource for the dialog template, item list, and any resources needed by
  3113. items in the item list yourself. But what do you do when you find the 
  3114. resources aren’t there? 
  3115.  
  3116.  Name  =  TN.003.Command-Shift Keys
  3117.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.003.Command-Shift Keys
  3118.  Size:  4K         Date: 2/15/91         Version: 
  3119.  Description:
  3120.  TN.003.Command-Shift Keys - In the standard system, there are two 
  3121. Command-Shift-number key combinations that are automatically captured and 
  3122. processed by GetNextEvent. The combinations are: Command-Shift-1 Eject 
  3123. internal disk Command-Shift-2 Eject external disk. Numbers from 3 to 9 are 
  3124. also captured by GetNextEvent, but are processed by calling ‘FKEY’ 
  3125. resources. You can implement your own actions for Command-Shift-number 
  3126. combinations for numbers 5 to 9 by defining your own ‘FKEY’ resource.
  3127.  
  3128.  Name  =  TN.002.Compatibility
  3129.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.002.Compatibility
  3130.  Size: 10K         Date: 2/15/91         Version: 
  3131.  Description:
  3132.  TN.002.Compatibility - Apple has many enhancements planned for the 
  3133. Macintosh family of computers. To help ensure your software’s compatibility
  3134. with these enhancements, check each item in this note to be sure that 
  3135. you’re following the recommendations. If your software is written in a 
  3136. high-level language like Pascal or C and if you adhere to the guidelines 
  3137. listed in Inside Macintosh, many of the questions in this note won’t 
  3138. concern you. If you develop in assembly language, you should read each 
  3139. question carefully.
  3140.  
  3141.  Name  =  TN.001.System Resources
  3142.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.001.System Resources
  3143.  Size:  3K         Date: 2/15/91         Version: 
  3144.  Description:
  3145.  This note formerly described a strategy for dealing with system resources 
  3146. from desk accessories. We no longer recommend calling ReleaseResource or 
  3147. DetachResource for a system resource. When you are done with a system 
  3148. resource, leave it alone; do not try to dispose or release it.
  3149.  
  3150.  Name  =  Sound Manager chapter (IM).dd
  3151.  Path =  AMUG CD:Files:MacTechNotes:Sound Manager chapter (IM).dd
  3152.  Size: 80K         Date: 2/15/91         Version: 
  3153.  Description:
  3154.  Sound Manager chapter (IM).dd contains specialized information on the 
  3155. Macintosh Sound Manager.
  3156.  
  3157.  Name  =  Human Interface Notes.dd
  3158.  Path =  AMUG CD:Files:MacTechNotes:Human Interface Notes.dd
  3159.  Size: 28K         Date: 2/15/91         Version: 
  3160.  Description:
  3161.  Human Interface Notes.dd are the Human Interface Tech Notes from Apple 
  3162. Computer.
  3163.  
  3164.  Name  =  Fonts (Old Format).dd
  3165.  Path =  AMUG CD:Files:MacTechNotes:Fonts (Old Format).dd
  3166.  Size: 26K         Date: 2/15/91         Version: 
  3167.  Description:
  3168.  Fonts (Old Format).dd contains old style formated fonts for displaying Tech
  3169. Notes in this section.
  3170.  
  3171.  Name  =  Fonts (New Format).dd
  3172.  Path =  AMUG CD:Files:MacTechNotes:Fonts (New Format).dd
  3173.  Size: 32K         Date: 2/15/91         Version: 
  3174.  Description:
  3175.  Fonts (New Format).dd contains new formated fonts for displaying Tech Notes
  3176. in this section.
  3177.  
  3178.  Name  =  0 About Mac TNs 2.92.cpt
  3179.  Path =  AMUG CD:Files:MacTechNotes:0 About Mac TNs 2.92.cpt
  3180.  Size: 16K         Date: 2/15/91         Version: 
  3181.  Description:
  3182.  0 About Mac TNs 2.92 - contains an index to the 2-92 Tech notes and various
  3183. updates.
  3184.  
  3185.